/[gentoo-x86]/net-misc/pxes/pxes-0.9.ebuild
Gentoo

Contents of /net-misc/pxes/pxes-0.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Mon Mar 20 21:12:27 2006 UTC (13 years, 8 months ago) by wolf31o2
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
Marking stable on amd64/x86 and cleaning up older ebuilds.
(Portage version: 2.1_pre6-r2)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/pxes/pxes-0.9.ebuild,v 1.10 2005/11/28 13:13:26 mcummings Exp $
4
5 inherit perl-app
6
7 IUSE="cdr"
8 MY_PV=${PV}-1
9 DESCRIPTION="PXES is a package for building thin clients using multiple types of clients"
10 HOMEPAGE="http://pxes.sourceforge.net"
11 SRC_URI="mirror://sourceforge/pxes/${PN}-base-i586-${MY_PV}.tar.gz
12 mirror://sourceforge/pxes/pxesconfig-${MY_PV}.tar.gz"
13
14 KEYWORDS="x86 amd64"
15
16 SLOT="0"
17 LICENSE="GPL-2"
18 DEPEND=">=dev-lang/perl-5.8.0-r12"
19
20 RDEPEND="${DEPEND}
21 dev-perl/gtk-perl
22 >=dev-perl/glade-perl-0.61
23 sys-fs/squashfs-tools
24 cdr? ( app-cdr/cdrtools )"
25
26 dir=/opt/${P}
27 Ddir=${D}/${dir}
28
29 src_unpack() {
30 unpack ${A} || die "Unpacking"
31 # use ltsp && unpack ${PN}-ltsp-${PV}-9.tar.gz
32 }
33
34 src_compile() {
35 cd ${WORKDIR}/pxesconfig-${PV}
36 SRC_PREP="yes"
37 perl Makefile.PL PREFIX=${D}/usr INSTALLDIRS=vendor DESTDIR=${D}
38 perl-app_src_compile || die
39 }
40
41 src_install() {
42 dodir ${dir}
43 cd ${Ddir}
44 cp -r ${S}/stock ${Ddir} || die "Copying files"
45 cp -pPR ${S}/tftpboot ${D} || die "Copying tftpboot"
46 dodoc Documentation/ChangeLog
47 dohtml -r Documentation/html/*
48 cd ${WORKDIR}/pxesconfig-${PV}
49 perl-module_src_install || die
50 # Cleanup from improper install
51 cp -r ${D}/${D}/usr ${D}
52 rm -rf ${D}/var
53 }

  ViewVC Help
Powered by ViewVC 1.1.20