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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Mon Sep 18 14:13:48 2006 UTC (13 years, 2 months ago) by wolf31o2
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
Change to using virtual/cdrtools for bug #147880, cleaning up older ebuilds, and adding dependency for virtual/cdrtools if USE=dvdr, also.
(Portage version: 2.1.1)
 (Signed Manifest commit)

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.7.ebuild,v 1.12 2005/11/28 13:13:26 mcummings Exp $
4
5 inherit perl-app
6
7 IUSE="cdr ltsp"
8 DESCRIPTION="PXES is a package for building thin clients using multiple types of clients"
9 HOMEPAGE="http://pxes.sourceforge.net"
10 SRC_URI="mirror://sourceforge/pxes/${PN}-base-i586-${PV}-1.tar.gz
11 mirror://sourceforge/pxes/pxesconfig-${PV}-1.tar.gz
12 ltsp? ( mirror://sourceforge/pxes/${PN}-ltsp-${PV}-1.tar.gz )"
13
14 KEYWORDS="x86"
15
16 SLOT="0"
17 LICENSE="GPL-2"
18 DEPEND=">=dev-lang/perl-5.8.0-r12
19 ltsp? ( >=net-misc/ltsp-3.0.9-r1 )"
20
21 RDEPEND="${DEPEND}
22 dev-perl/gtk-perl
23 >=dev-perl/glade-perl-0.61
24 cdr? ( app-cdr/cdrtools )"
25
26 RESTRICT="nouserpriv"
27
28 dir=/opt/${P}
29 Ddir=${D}/${dir}
30
31 src_unpack() {
32 unpack ${A}
33 use ltsp && unpack ${PN}-ltsp-${PV}-1.tar.gz
34 }
35
36 src_compile() {
37 cd ${WORKDIR}/pxesconfig-${PV}
38 SRC_PREP="yes"
39 perl Makefile.PL PREFIX=${D}/usr INSTALLDIRS=vendor DESTDIR=${D}
40 perl-app_src_compile || die
41 }
42
43 src_install() {
44 dodir ${dir}
45 cp -pPR ${S}/stock ${Ddir}
46 cp -pPR ${S}/tftpboot ${D}
47 dodoc Documentation/ChangeLog
48 dohtml -r Documentation/html/*
49 exeinto ${dir}
50 doexe ${FILESDIR}/makedevices.sh
51 cd ${WORKDIR}/pxesconfig-${PV}
52 perl-module_src_install || die
53 dosym /usr/bin/cpio /bin/cpio
54 }
55
56 #pkg_postinst() {
57 # ${dir}/makedevices.sh
58 #}
59
60 #pkg_prerm() {
61 # rm -rf ${dir}/stock/{dist,initrd}/dev
62 #}

  ViewVC Help
Powered by ViewVC 1.1.20