summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/acpid/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-08 17:08:28 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-08 17:08:28 (GMT)
commitc38715641e214272ad7dc6d495edd29940366e7f (patch)
tree9dcd507543e67458d98fa7462f62026041524047 /abs/core-testing/acpid/PKGBUILD
parent3d91b06198a56b6579cb0bd77de65f5908571b87 (diff)
downloadlinhes_pkgbuild-c38715641e214272ad7dc6d495edd29940366e7f.zip
linhes_pkgbuild-c38715641e214272ad7dc6d495edd29940366e7f.tar.gz
linhes_pkgbuild-c38715641e214272ad7dc6d495edd29940366e7f.tar.bz2
packages that will be needed in the future.
This is the initial merge of packages from MythVantage that are not MythVantage specific.
Diffstat (limited to 'abs/core-testing/acpid/PKGBUILD')
-rw-r--r--abs/core-testing/acpid/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core-testing/acpid/PKGBUILD b/abs/core-testing/acpid/PKGBUILD
new file mode 100644
index 0000000..f39bbc1
--- /dev/null
+++ b/abs/core-testing/acpid/PKGBUILD
@@ -0,0 +1,31 @@
+
+pkgname=acpid
+pkgver=1.0.6
+pkgrel=3
+arch=('i686')
+pkgdesc="Utilities for using ACPI power management"
+url="http://acpid.sourceforge.net"
+depends=(glibc)
+source=(http://easynews.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
+ acpid-1.0.4-gcc4.patch
+ acpid
+ anything
+ handler.sh
+ Makefile )
+backup=('etc/acpi/handler.sh' 'etc/acpi/events/anything')
+#options='-D_GNU_SOURCE'
+MAKEFLAGS="-j2"
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ # patch -Np1 -i ${startdir}/src/acpid-1.0.4-gcc4.patch || return 1
+ cp ../Makefile .
+ /usr/bin/make || return 1
+ /bin/install -d -m0755 $startdir/pkg/usr/bin
+ /usr/bin/make INSTPREFIX=$startdir/pkg \
+ MAN8DIR=$startdir/pkg/usr/man/man8 install
+ /bin/install -D -m0755 ../acpid $startdir/pkg/etc/rc.d/acpid
+ /bin/install -d -m0755 $startdir/pkg/etc/acpi/events
+ /bin/install -D -m0644 ../anything $startdir/pkg/etc/acpi/events/anything
+ /bin/install -D -m0755 ../handler.sh $startdir/pkg/etc/acpi/handler.sh
+}