diff options
author | Hanno Böck <hanno@gentoo.org> | 2002-10-16 09:25:24 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2002-10-16 09:25:24 +0000 |
commit | 818ac366714f1144c835ef647bbe4e0a69529610 (patch) | |
tree | a7cd4c5432c8b819a6c8aede615e07a89219bad1 /sys-apps/acpid | |
parent | add die to patch (diff) | |
download | gentoo-2-818ac366714f1144c835ef647bbe4e0a69529610.tar.gz gentoo-2-818ac366714f1144c835ef647bbe4e0a69529610.tar.bz2 gentoo-2-818ac366714f1144c835ef647bbe4e0a69529610.zip |
added use of cflags. bug #8976
Diffstat (limited to 'sys-apps/acpid')
-rw-r--r-- | sys-apps/acpid/ChangeLog | 12 | ||||
-rw-r--r-- | sys-apps/acpid/acpid-1.0.1-r1.ebuild | 38 | ||||
-rw-r--r-- | sys-apps/acpid/files/digest-acpid-1.0.1-r1 | 1 |
3 files changed, 48 insertions, 3 deletions
diff --git a/sys-apps/acpid/ChangeLog b/sys-apps/acpid/ChangeLog index 749a28bf2756..3f428c1f256b 100644 --- a/sys-apps/acpid/ChangeLog +++ b/sys-apps/acpid/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-apps/acpid # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/acpid/ChangeLog,v 1.5 2002/07/21 18:18:45 gerk Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/acpid/ChangeLog,v 1.6 2002/10/16 09:25:24 hanno Exp $ + +*acpid-1.0.1-r1 (16 Oct 2002) + + 16 Oct 2002; Hanno Boeck <hanno@gmx.de> acpid-1.0.1-r1.ebuild : + Added use of CFLAGS. Must be tested. + Resolves bug #8976. + +*acpid-1.0.1 (21 May 2002) 21 Jul 2002; Mark Guertin <gerk@gentoo.org> : Added -ppc to keywords @@ -9,8 +17,6 @@ Fix kernel virtual .. should not be versioned. -*acpid-1.0.1 (21 May 2002) - 14 Jul 2002; phoen][x <phoenix@gentoo.org> acpid-1.0.1.ebuild : Added KEYWORDS, SLOT. diff --git a/sys-apps/acpid/acpid-1.0.1-r1.ebuild b/sys-apps/acpid/acpid-1.0.1-r1.ebuild new file mode 100644 index 000000000000..9fe1f08fab71 --- /dev/null +++ b/sys-apps/acpid/acpid-1.0.1-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/acpid/acpid-1.0.1-r1.ebuild,v 1.1 2002/10/16 09:25:24 hanno Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Daemon for Advanced Configuration and Power Interface." +SRC_URI="mirror://sourceforge/acpid/${P}.tar.gz" +HOMEPAGE="http://acpid.sourceforge.net/" +KEYWORDS="~x86 -ppc" +SLOT="0" +LICENSE="GPL-2" + +# We need the patched kernel with latest ACPI code, or else it will +# be broken. Hopefully it will be merge into release kernel soon. +DEPEND="virtual/glibc + virtual/linux-sources" + + +src_compile() { + make INSTPREFIX=${D} \ + CFLAGS="${CFLAGS} -DVERSION=\"\\\"1.0.1\\\"\"" || die +} + +src_install () { + + make INSTPREFIX=${D} install || die + + dodir /etc/acpi/events + exeinto /etc/acpi + doexe debian/default.sh + insinto /etc/acpi/events + doins debian/default + + dodoc README Changelog + + exeinto /etc/init.d + newexe ${FILESDIR}/acpid.rc6 acpid +} diff --git a/sys-apps/acpid/files/digest-acpid-1.0.1-r1 b/sys-apps/acpid/files/digest-acpid-1.0.1-r1 new file mode 100644 index 000000000000..57cc4183c33a --- /dev/null +++ b/sys-apps/acpid/files/digest-acpid-1.0.1-r1 @@ -0,0 +1 @@ +MD5 0c03d957aec557857ffc7941243083d9 acpid-1.0.1.tar.gz 15762 |