diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2018-06-27 16:15:17 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-06-30 07:00:19 +0700 |
commit | 5748ceeae42d2115749daf3415fb2b50989b05fb (patch) | |
tree | d9572be22bc8c4a9cf776760d2e70bd19dace2f0 /libraries/agg/agg.SlackBuild | |
parent | 9fed72d60d5d754fe3ce5c80f57d60a2d6520665 (diff) |
libraries/agg: Updated for version r127.
Switch to the debian-maintained version
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/agg/agg.SlackBuild')
-rw-r--r-- | libraries/agg/agg.SlackBuild | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/libraries/agg/agg.SlackBuild b/libraries/agg/agg.SlackBuild index 02a9477479b5c..02d346327756b 100644 --- a/libraries/agg/agg.SlackBuild +++ b/libraries/agg/agg.SlackBuild @@ -9,13 +9,13 @@ # For details see http://sam.zoy.org/wtfpl/COPYING PRGNAM=agg -VERSION=${VERSION:-2.5} -BUILD=${BUILD:-3} +VERSION=${VERSION:-r127} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -26,8 +26,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -46,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.?z* cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -55,8 +55,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# apply patches from fedora (thanks!) -for i in $CWD/patches/* ; do patch -p1 < $i ; done +# apply patches from debian (thanks!) +for i in $CWD/patches/* ; do patch --verbose -p1 < $i ; done aclocal autoheader autoconf @@ -72,6 +72,7 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --disable-static \ + --disable-examples \ --build=$ARCH-slackware-linux make @@ -84,7 +85,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION # Note: there is around 2.5 MB worth of stuff in the examples subdir # If you need it, it's in the source :) cp -a \ - install ChangeLog authors readme news copying \ + AUTHORS README NEWS copying ChangeLog \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |