blob: 3544b2127572b993c1b47e74f1d84b36a29cb2d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/pxes/pxes-0.6-r4.ebuild,v 1.5 2003/10/18 12:59:07 wolf31o2 Exp $
IUSE="ltsp"
DESCRIPTION="PXES is a package for building thin clients using multiple types of clients"
HOMEPAGE="http://pxes.sourceforge.net"
SRC_URI="mirror://sourceforge/pxes/${PN}-base-i586-${PV}-4.tar.gz
mirror://sourceforge/pxes/pxesconfig-${PV}-4.tar.gz
ltsp? ( mirror://sourceforge/pxes/${PN}-ltsp-${PV}.tar.gz )"
KEYWORDS="x86"
SLOT="0"
LICENSE="GPL-2"
DEPEND=">=dev-lang/perl-5.8.0-r12
ltsp? >=net-misc/ltsp-core-3.0.9-r1"
RDEPEND="${DEPEND}
dev-perl/gtk-perl
>=dev-perl/glade-perl-0.61"
S=${WORKDIR}/${P}
RESTRICT="nouserpriv"
inherit perl-module
dir=/opt/${P}
Ddir=${D}/${dir}
src_unpack() {
unpack ${A}
use ltsp && unpack ${PN}-ltsp-${PV}.tar.gz
}
src_compile() {
cd ${WORKDIR}/pxesconfig-${PV}
perl-module_src_compile || die
}
src_install() {
dodir ${dir}
cp -r ${S}/stock ${Ddir}
cp -r ${S}/tftpboot ${D}
dodoc Documentation/ChangeLog
dohtml Documentation/html/{index,pxe,readme,screenshots}.html,howto/{configuring_ICA,customizing_kernel_and_modules,gdm,xfs,ms_only_environment/ms_only_environment}.html
exeinto ${dir}
doexe ${FILESDIR}/makedevices.sh
cd ${WORKDIR}/pxesconfig-${PV}
perl-module_src_install || die
dosym /usr/bin/cpio /bin/cpio
}
#pkg_postinst() {
# ${dir}/makedevices.sh
#}
#pkg_prerm() {
# rm -rf ${dir}/stock/{dist,initrd}/dev
#}
|