summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-08 05:29:35 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-08 05:29:35 +0000
commitf2e6f2f9caef10a3834351d7c092bfdaea4787e7 (patch)
tree460204e2fed2bb24a9b6105f4317de06be128b65 /net-analyzer/tleds/tleds-1.05_beta11.ebuild
parentremove all redhat-sources ebuilds, I'll remove the dir later (Manifest recommit) (diff)
downloadgentoo-2-f2e6f2f9caef10a3834351d7c092bfdaea4787e7.tar.gz
gentoo-2-f2e6f2f9caef10a3834351d7c092bfdaea4787e7.tar.bz2
gentoo-2-f2e6f2f9caef10a3834351d7c092bfdaea4787e7.zip
init.d script #37423
Diffstat (limited to 'net-analyzer/tleds/tleds-1.05_beta11.ebuild')
-rw-r--r--net-analyzer/tleds/tleds-1.05_beta11.ebuild18
1 files changed, 12 insertions, 6 deletions
diff --git a/net-analyzer/tleds/tleds-1.05_beta11.ebuild b/net-analyzer/tleds/tleds-1.05_beta11.ebuild
index c451d3c50ce3..b308aaf2d84e 100644
--- a/net-analyzer/tleds/tleds-1.05_beta11.ebuild
+++ b/net-analyzer/tleds/tleds-1.05_beta11.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tleds/tleds-1.05_beta11.ebuild,v 1.8 2003/02/13 13:51:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tleds/tleds-1.05_beta11.ebuild,v 1.9 2004/01/08 05:29:35 vapier Exp $
-IUSE="X"
+inherit eutils
MY_P=${P/_/}
S=${WORKDIR}/${MY_P/eta11/}
@@ -11,17 +11,18 @@ HOMEPAGE="http://www.hut.fi/~jlohikos/tleds/"
SRC_URI="http://www.hut.fi/~jlohikos/tleds/public/${MY_P/11/10}.tgz
http://www.hut.fi/~jlohikos/tleds/public/${MY_P}.patch.bz2"
-SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="x86 sparc "
+SLOT="0"
+KEYWORDS="x86 sparc"
+IUSE="X"
DEPEND="X? ( virtual/x11 )"
src_unpack() {
unpack tleds-1.05beta10.tgz
cd ${S}
- bzcat ${DISTDIR}/${MY_P}.patch.bz2 | patch || die
- patch < ${FILESDIR}/${P}-gentoo.patch || die
+ epatch ${DISTDIR}/${MY_P}.patch.bz2
+ epatch ${FILESDIR}/${P}-gentoo.patch
}
src_compile() {
@@ -38,4 +39,9 @@ src_install() {
doman tleds.1
dodoc README COPYING Changes
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/tleds.init.d tleds
+ insinto /etc/conf.d
+ newins ${FILESDIR}/tleds.conf.d tleds
}