From bcd0153645655db6b258477e25ac1d183dafc55c Mon Sep 17 00:00:00 2001 From: sibel Date: Mon, 23 May 2011 09:04:23 +0200 Subject: pm-utils 1.4.1-1 ajout port --- extra/pm-utils/Pkgfile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 extra/pm-utils/Pkgfile (limited to 'extra/pm-utils/Pkgfile') diff --git a/extra/pm-utils/Pkgfile b/extra/pm-utils/Pkgfile new file mode 100644 index 000000000..0da983420 --- /dev/null +++ b/extra/pm-utils/Pkgfile @@ -0,0 +1,34 @@ +# Description: Utilitaires et scripts pour la gestion de l'hibernation +# URL: http://pm-utils.freedesktop.org +# Maintainer: NuTyX core team +# Packager: lesibel at free dot fr +# Depends on: pm-quirks +# Run on: pm-quirks + +name=pm-utils +version=1.4.1 +release=1 +source=(http://pm-utils.freedesktop.org/releases/$name-$version.tar.gz + pm-utils-02-loggin-append.patch + pm-utils-11-netcfg + pm-utils-13-49bluetooth-sync.patch + pm-utils-14-disable-sata-alpm.patch ) + +build() { + cd $SRC/$name-$version + + patch -Np1 -i ../pm-utils-02-loggin-append.patch + patch -Np1 -i ../pm-utils-13-49bluetooth-sync.patch + patch -Np1 -i ../pm-utils-14-disable-sata-alpm.patch + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var + make + make DESTDIR=$PKG install + + install -m755 $SRC/pm-utils-11-netcfg $PKG/usr/lib/pm-utils/sleep.d/11netcfg + rm -f $PKG/usr/lib/pm-utils/sleep.d/55NetworkManager + rm -f $PKG/usr/lib/pm-utils/power.d/{harddrive,disable_wol} +} + -- cgit v1.2.3-70-g09d2