diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libpaper/libpaper.SlackBuild | 10 | ||||
-rw-r--r-- | libraries/libpaper/libpaper.info | 6 |
2 files changed, 9 insertions, 7 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 diff --git a/libraries/libpaper/libpaper.info b/libraries/libpaper/libpaper.info index 5e1a460f80eb..ee6afe4d2fce 100644 --- a/libraries/libpaper/libpaper.info +++ b/libraries/libpaper/libpaper.info @@ -1,8 +1,8 @@ PRGNAM="libpaper" -VERSION="1.1.24+nmu4" +VERSION="1.1.24+nmu5" HOMEPAGE="https://packages.qa.debian.org/libp/libpaper.html" -DOWNLOAD="https://ftp.de.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24+nmu4.tar.gz" -MD5SUM="155d2e589e2f4ef163de8fbbc5d3dd1e" +DOWNLOAD="https://ftp.de.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24+nmu5.tar.gz" +MD5SUM="38bc55688c0fc5544edaa5a951a45fbd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |