diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2003-08-25 14:46:57 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2003-08-25 14:46:57 +0000 |
commit | 67738c69b9e2f00e7127b305df63e8513eddc105 (patch) | |
tree | e2efde4fe7db38e37b1d6d061747fe8e6da8ab93 /net-misc/pxes/pxes-0.6-r4.ebuild | |
parent | considered stable (diff) | |
download | gentoo-2-67738c69b9e2f00e7127b305df63e8513eddc105.tar.gz gentoo-2-67738c69b9e2f00e7127b305df63e8513eddc105.tar.bz2 gentoo-2-67738c69b9e2f00e7127b305df63e8513eddc105.zip |
Marked 0.6 stable. Added 0.6-r4 as testing. Updated to latest version.
Diffstat (limited to 'net-misc/pxes/pxes-0.6-r4.ebuild')
-rw-r--r-- | net-misc/pxes/pxes-0.6-r4.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/net-misc/pxes/pxes-0.6-r4.ebuild b/net-misc/pxes/pxes-0.6-r4.ebuild new file mode 100644 index 000000000000..330b89982fdb --- /dev/null +++ b/net-misc/pxes/pxes-0.6-r4.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2003 Gentoo Technologues, Inc. +# Distrbuted 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.1 2003/08/25 14:46:38 wolf31o2 Exp $ + +IUSE="ltsp" +DESCRIPTION="PXES is a package for building thin clients using multiple types of clients" +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/glade-perl-0.61" + +S=${WORKDIR}/${P} + +inherit perl-module + +dir=/opt/${P} +Ddir=${D}/${dir} + +src_unpack() { + tar -xzf ${DISTDIR}/${PN}-base-i586-${PV}-4.tar.gz \ + --no-same-permissions \ + --exclude=pxes-0.6/stock/dist/dev/* \ + --exclude=pxes-0.6/stock/initrd/dev/* || die "unpacking base" + + tar -xzf ${DISTDIR}/${PN}config-${PV}-4.tar.gz \ + --no-same-permissions \ + --exclude=pxesconfig-0.6/lib \ + --exclude=pxesconfig-0.6/MANIFEST || die "unpacking config" + + use ltsp && unpack ${PN}-ltsp-${PV}.tar.gz +} + +src_compile() { + cd ${WORKDIR}/pxesconfig-${PV} +# perl Makefile.PL || die +# make + 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 +} + +pkg_postinst() { + ${dir}/makedevices.sh +} + +pkg_prerm() { + rm -rf ${dir}/stock/{dist,initrd}/dev +} |