diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2011-04-25 13:37:00 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:45:18 +0200 |
commit | 75a4a592e5ccda30715f93563d741b83e0dcf39e (patch) | |
tree | 502f745607e77a2c4386ad38d818ddcafe81489c /source/ap/pm-utils/pm-utils.SlackBuild | |
parent | b76270bf9e6dd375e495fec92140a79a79415d27 (diff) | |
download | current-75a4a592e5ccda30715f93563d741b83e0dcf39e.tar.gz |
Slackware 13.37slackware-13.37
Mon Apr 25 13:37:00 UTC 2011
Slackware 13.37 x86_64 stable is released!
Thanks to everyone who pitched in on this release: the Slackware team,
the folks producing upstream code, and linuxquestions.org for providing
a great forum for collaboration and testing.
The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a
dual-sided
32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware
project by picking up a copy from store.slackware.com. We're taking
pre-orders now, and offer a discount if you sign up for a subscription.
As always, thanks to the Slackware community for testing, suggestions,
and feedback. :-)
Have fun!
Diffstat (limited to 'source/ap/pm-utils/pm-utils.SlackBuild')
-rwxr-xr-x | source/ap/pm-utils/pm-utils.SlackBuild | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/source/ap/pm-utils/pm-utils.SlackBuild b/source/ap/pm-utils/pm-utils.SlackBuild index 0b9eacd1..1ae12666 100755 --- a/source/ap/pm-utils/pm-utils.SlackBuild +++ b/source/ap/pm-utils/pm-utils.SlackBuild @@ -25,9 +25,9 @@ PKGNAM=pm-utils VERSION=$(echo ${PKGNAM}-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev) -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} -QUIRKS=20100316 # Version of the quirks database +QUIRKS=20100619 # Version of the quirks database NUMJOBS=${NUMJOBS:-" -j7 "} @@ -63,7 +63,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PKGNAM-$VERSION -tar xvf $CWD/$PKGNAM-$VERSION.tar.xz || exit 1 +tar xvf $CWD/$PKGNAM-$VERSION.tar.gz || exit 1 cd $PKGNAM-$VERSION || exit 1 chown -R root:root . find . \ @@ -72,6 +72,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +zcat $CWD/use_more_sane_harddrive_defaults.patch.gz | patch -p1 || exit 1 +zcat $CWD/fix-wrong-path-in-intel-audio-powersave.patch.gz | patch -p1 || exit 1 + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -86,10 +89,22 @@ make install DESTDIR=$PKG || exit 1 # Now let's add the video quirks PM_UTILS_LIBDIR="/usr/lib${LIBDIRSUFFIX}/pm-utils" -mkdir -p $PKG/$PM_UTILS_LIBDIR/video-quirks -tar xf $CWD/pm-quirks-$QUIRKS.tar.xz -C $PKG/$PM_UTILS_LIBDIR/video-quirks +mkdir -p $PKG/$PM_UTILS_LIBDIR +tar xf $CWD/pm-quirks-$QUIRKS.tar.gz -C $PKG/$PM_UTILS_LIBDIR chown -R root:root $PKG/$PM_UTILS_LIBDIR/video-quirks +# Probably this shouldn't be needed, but some bluetooth hardware isn't +# properly handled during the sleep/wake process +( cd $PKG/usr/lib${LIBDIRSUFFIX}/pm-utils/sleep.d + mv 49bluetooth 49bluetooth-ibm + cat $CWD/49bluetooth-generic > 49bluetooth-generic + chmod 0755 49bluetooth-generic +) + +# Remove the NetworkManager hook since we don't ship it; +# it should be included with NetworkManager +rm -f $PKG/usr/lib64/pm-utils/sleep.d/55NetworkManager + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null |