diff options
author | sibel <lesibel@free.fr> | 2011-05-23 09:04:23 +0200 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2011-05-23 09:04:23 +0200 |
commit | bcd0153645655db6b258477e25ac1d183dafc55c (patch) | |
tree | 6874df3e2cfeae3fa8e1c4ed3097c0a1b4324ca4 /extra/pm-utils/Pkgfile | |
parent | 120d1e11c2e6817e78ed139fec6dda0b948ad47b (diff) | |
download | nutyx-pakxe-bcd0153645655db6b258477e25ac1d183dafc55c.tar.gz nutyx-pakxe-bcd0153645655db6b258477e25ac1d183dafc55c.tar.bz2 nutyx-pakxe-bcd0153645655db6b258477e25ac1d183dafc55c.tar.xz nutyx-pakxe-bcd0153645655db6b258477e25ac1d183dafc55c.zip |
pm-utils 1.4.1-1 ajout port
Diffstat (limited to 'extra/pm-utils/Pkgfile')
-rw-r--r-- | extra/pm-utils/Pkgfile | 34 |
1 files changed, 34 insertions, 0 deletions
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} +} + |