diff options
author | Nick Steeves <nick.steeves@shaw.ca> | 2006-04-09 09:14:11 +0000 |
---|---|---|
committer | Nick Steeves <nick.steeves@shaw.ca> | 2006-04-09 09:14:11 +0000 |
commit | bf2db5021c4addc5c6cc363cb426fa4c77cd8d72 (patch) | |
tree | 714733b14b44fa334fee07a6b5e7eb830f37cd4d /acpid | |
parent | b237d50fc87821f238cb5820d3343f08691e75e7 (diff) | |
download | opt-bf2db5021c4addc5c6cc363cb426fa4c77cd8d72.tar.gz opt-bf2db5021c4addc5c6cc363cb426fa4c77cd8d72.tar.xz |
acpid: add Fedora's GCC4 patch; minor Pkgfile aesthetic and efficiency fixes
Diffstat (limited to 'acpid')
-rw-r--r-- | acpid/.md5sum | 1 | ||||
-rw-r--r-- | acpid/Pkgfile | 26 |
2 files changed, 13 insertions, 14 deletions
diff --git a/acpid/.md5sum b/acpid/.md5sum index 305407a0e..10faf4ad8 100644 --- a/acpid/.md5sum +++ b/acpid/.md5sum @@ -1,3 +1,4 @@ +46c4f1ebf9328babd6664ded6fb5f1e6 acpid-1.0.4-gcc4.patch 3aff94e92186e99ed5fd6dcee2db7c74 acpid-1.0.4.tar.gz 41e6969cfea8e28bdc44142e977c0aa5 acpid.rc a0d3f9a8480faf602a7415d03267f49f default diff --git a/acpid/Pkgfile b/acpid/Pkgfile index 8689e0612..974d2ec0e 100644 --- a/acpid/Pkgfile +++ b/acpid/Pkgfile @@ -1,23 +1,21 @@ # Description: Advanced Configuration and Power Interface event management daemon # URL: http://acpid.sf.net # Maintainer: sten, nick dot steeves at shaw dot ca -# Packager: Markus Heinz, su1690 at studserver dot uni-dortmund dot de +# Packager: name=acpid version=1.0.4 -release=1 -source=(http://dl.sourceforge.net/${name}/${name}-$version.tar.gz \ - acpid.rc default default.sh) +release=2 +source=(http://dl.sourceforge.net/acpid/acpid-$version.tar.gz \ + acpid.rc default default.sh acpid-1.0.4-gcc4.patch) build() { - cd $name-$version - mkdir -p $PKG/usr/{bin,sbin,man/man8} - make INSTPREFIX=/usr - make INSTPREFIX=$PKG MAN8DIR=$PKG/usr/man/man8 install - mkdir -p $PKG/etc/{acpi/events,rc.d} - mv ../acpid.rc $PKG/etc/rc.d/acpid - mv ../default $PKG/etc/acpi/events - mv ../default.sh $PKG/etc/acpi - chmod 00755 $PKG/etc/rc.d/acpid $PKG/etc/acpi/default.sh - chown -R root:root $PKG + cd $name-$version + patch -p1 -i $SRC/acpid-1.0.4-gcc4.patch + mkdir -p $PKG/usr/{bin,sbin,man/man8} + make INSTPREFIX=/usr + make INSTPREFIX=$PKG MAN8DIR=$PKG/usr/man/man8 install + install -D -m 755 ../acpid.rc $PKG/etc/rc.d/acpid + install -D -m 644 ../default $PKG/etc/acpi/events/default + install -D -m 755 ../default.sh $PKG/etc/acpi/default.sh } |