2009-05-11 21:50:20 +02:00
|
|
|
# Template file for 'pm-utils'
|
|
|
|
pkgname=pm-utils
|
2010-05-06 06:02:03 +02:00
|
|
|
version=1.3.0
|
|
|
|
distfiles="
|
|
|
|
http://pm-utils.freedesktop.org/releases/$pkgname-$version.tar.gz
|
|
|
|
http://pm-utils.freedesktop.org/releases/pm-quirks-20100316.tar.gz"
|
2009-05-11 21:50:20 +02:00
|
|
|
build_style=gnu_configure
|
2010-05-06 06:02:03 +02:00
|
|
|
configure_args="--libdir=/usr/lib"
|
2009-05-11 21:50:20 +02:00
|
|
|
short_desc="Power Management Utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-05-06 06:02:03 +02:00
|
|
|
checksum="
|
|
|
|
586cc4a6d40e5d659d9d634ba9d3cde6268a0543fd7f29026a3069bcd726806e
|
|
|
|
f5872464c7af4df9ae017cb3595cc416ab28b0e87f97ff7323af7244822c4412"
|
2009-05-11 21:50:20 +02:00
|
|
|
long_desc="
|
|
|
|
$pkgname is a small collection of scripts that handle suspend and
|
|
|
|
resume on behalf of HAL (Hardware Abstraction Layer)."
|
|
|
|
|
|
|
|
Add_dependency full glibc
|
2010-05-06 06:02:03 +02:00
|
|
|
Add_dependency full bash
|
2009-05-11 21:50:20 +02:00
|
|
|
Add_dependency full procps
|
2009-05-12 02:26:39 +02:00
|
|
|
Add_dependency full vbetool
|
2010-05-06 06:02:03 +02:00
|
|
|
Add_dependency build xmlto
|
2009-10-05 18:14:18 +02:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
install -D -m644 ${FILESDIR}/$pkgname.logrotate \
|
|
|
|
${DESTDIR}/etc/logrotate.d/$pkgname
|
2010-05-06 06:02:03 +02:00
|
|
|
mv ${XBPS_BUILDDIR}/*.quirkdb ${DESTDIR}/usr/lib/pm-utils
|
2009-10-05 18:14:18 +02:00
|
|
|
}
|