2009-05-11 19:50:20 +00:00
|
|
|
# Template file for 'pm-utils'
|
|
|
|
pkgname=pm-utils
|
2010-11-02 12:20:05 +00:00
|
|
|
version=1.4.1
|
2010-05-06 04:02:03 +00:00
|
|
|
distfiles="
|
|
|
|
http://pm-utils.freedesktop.org/releases/$pkgname-$version.tar.gz
|
2010-11-02 12:20:05 +00:00
|
|
|
http://pm-utils.freedesktop.org/releases/pm-quirks-20100619.tar.gz"
|
2009-05-11 19:50:20 +00:00
|
|
|
build_style=gnu_configure
|
2010-05-06 04:02:03 +00:00
|
|
|
configure_args="--libdir=/usr/lib"
|
2009-05-11 19:50:20 +00:00
|
|
|
short_desc="Power Management Utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-05-06 04:02:03 +00:00
|
|
|
checksum="
|
2010-11-02 12:20:05 +00:00
|
|
|
8ed899032866d88b2933a1d34cc75e8ae42dcde20e1cc21836baaae3d4370c0b
|
|
|
|
14a50518928c27417cdc8bcbabb32b3d986931de105149aa248d8883e56c61ec"
|
2009-05-11 19:50:20 +00: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 04:02:03 +00:00
|
|
|
Add_dependency full bash
|
2009-05-11 19:50:20 +00:00
|
|
|
Add_dependency full procps
|
2009-05-12 00:26:39 +00:00
|
|
|
Add_dependency full vbetool
|
2010-05-06 04:02:03 +00:00
|
|
|
Add_dependency build xmlto
|
2009-10-05 16:14:18 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
install -D -m644 ${FILESDIR}/$pkgname.logrotate \
|
|
|
|
${DESTDIR}/etc/logrotate.d/$pkgname
|
2010-11-02 12:20:05 +00:00
|
|
|
mv ${XBPS_BUILDDIR}/video-quirks/*.quirkdb ${DESTDIR}/usr/lib/pm-utils
|
2009-10-05 16:14:18 +00:00
|
|
|
}
|