diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-03 19:27:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-03 19:27:14 +0000 |
commit | 8a807ca2a7d70be89d03c94054f31794e8e0095f (patch) | |
tree | 0e9afce7f27bab5c4a127311216069c04933843c /sys-apps/apmd | |
parent | (Manifest recommit) (diff) | |
download | gentoo-2-8a807ca2a7d70be89d03c94054f31794e8e0095f.tar.gz gentoo-2-8a807ca2a7d70be89d03c94054f31794e8e0095f.tar.bz2 gentoo-2-8a807ca2a7d70be89d03c94054f31794e8e0095f.zip |
never put sys-kernel/linux-headers into DEPEND
Diffstat (limited to 'sys-apps/apmd')
-rw-r--r-- | sys-apps/apmd/apmd-3.2.1_p4.ebuild | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/sys-apps/apmd/apmd-3.2.1_p4.ebuild b/sys-apps/apmd/apmd-3.2.1_p4.ebuild index f1758c310b3e..8d3823d51105 100644 --- a/sys-apps/apmd/apmd-3.2.1_p4.ebuild +++ b/sys-apps/apmd/apmd-3.2.1_p4.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/apmd-3.2.1_p4.ebuild,v 1.3 2004/02/29 17:54:53 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/apmd-3.2.1_p4.ebuild,v 1.4 2004/03/03 19:27:14 vapier Exp $ -IUSE="X nls" +inherit eutils MY_PV="${PV%_p*}" MY_P="${PN}_${MY_PV}" @@ -14,19 +14,22 @@ HOMEPAGE="http://www.worldvisions.ca/~apenwarr/apmd/" SRC_URI="mirror://debian/pool/main/a/apmd/${MY_P}.orig.tar.gz mirror://debian/pool/main/a/apmd/${MY_P}-${PATCHV}.diff.gz" -SLOT="0" LICENSE="GPL-2" -KEYWORDS="~x86 ~amd64 ~ppc ~ppc64" -DEPEND="sys-kernel/linux-headers +SLOT="0" +KEYWORDS="~x86 ~ppc ~ppc64 ~amd64" +IUSE="X nls" + +DEPEND="virtual/os-headers >=sys-apps/debianutils-1.16 >=sys-apps/sed-4 X? ( virtual/x11 )" src_unpack() { unpack ${A} - cd ${S}; epatch ${WORKDIR}/${MY_P}-${PATCHV}.diff + cd ${S} + epatch ${WORKDIR}/${MY_P}-${PATCHV}.diff - if [ -z "`use X`" ]; then + if ! use X ; then sed -e 's:\(EXES=.*\)xapm:\1:' \ -e 's:\(.*\)\$(LT_INSTALL).*xapm.*$:\1echo:' \ -i ${S}/Makefile @@ -55,5 +58,5 @@ src_install() { insinto /etc/conf.d ; newins ${FILESDIR}/apmd.confd apmd exeinto /etc/init.d ; newexe ${FILESDIR}/apmd.rc6 apmd - [ -z "`use nls`" ] && rm -rf ${D}/usr/share/man/fr + use nls || rm -rf ${D}/usr/share/man/fr } |