diff options
author | tnut <tnut at nutyx dot org> | 2012-05-03 21:10:08 +0200 |
---|---|---|
committer | tnut <tnut at nutyx dot org> | 2012-05-03 21:10:08 +0200 |
commit | da38d2b0170922c01a607a04af092e77ca2d64d1 (patch) | |
tree | 81932879a719a11b2e8fab5f9224b09e7fba6c6b /pm-utils/Pkgfile | |
parent | cdd472312568aca412d979d2af1e4c0d7105a0a3 (diff) | |
download | nutyx-pakxe-da38d2b0170922c01a607a04af092e77ca2d64d1.tar.gz nutyx-pakxe-da38d2b0170922c01a607a04af092e77ca2d64d1.tar.bz2 nutyx-pakxe-da38d2b0170922c01a607a04af092e77ca2d64d1.tar.xz nutyx-pakxe-da38d2b0170922c01a607a04af092e77ca2d64d1.zip |
ajout pm-utils
Diffstat (limited to 'pm-utils/Pkgfile')
-rw-r--r-- | pm-utils/Pkgfile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pm-utils/Pkgfile b/pm-utils/Pkgfile new file mode 100644 index 000000000..0da983420 --- /dev/null +++ b/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} +} + |