diff options
Diffstat (limited to 'libraries/libpaper/libpaper.SlackBuild')
-rw-r--r-- | libraries/libpaper/libpaper.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libraries/libpaper/libpaper.SlackBuild b/libraries/libpaper/libpaper.SlackBuild index c5a87b6bb545..e7509c88b6bc 100644 --- a/libraries/libpaper/libpaper.SlackBuild +++ b/libraries/libpaper/libpaper.SlackBuild @@ -4,8 +4,9 @@ # Written by Pablo Santamaria (pablosantamaria@gmail.com) # Update by Tim Dickson (dickson.tim@googlemail.com) for 1.1.24+nmu4 version +# 26/06/2017 updated by Tim Dickson for 1.1.24+nmu5 version PRGNAM=libpaper -VERSION=${VERSION:-1.1.24+nmu4} +VERSION=${VERSION:-1.1.24+nmu5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -45,7 +46,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/${PRGNAM}_${VERSION}.tar.gz +tar xvf "$CWD/${PRGNAM}_${VERSION}.tar.gz" cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -53,7 +54,9 @@ find -L . \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; - +#patch configure.ac for default paper size +sed -i "s/PAPERSIZE=letter/PAPERSIZE=$PAPERSIZE/g" configure.ac +autoreconf -i CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -65,7 +68,6 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-static \ --build=$ARCH-slackware-linux - make make install DESTDIR=$PKG |