diff options
Diffstat (limited to 'libraries/libiptcdata/libiptcdata.SlackBuild')
-rw-r--r-- | libraries/libiptcdata/libiptcdata.SlackBuild | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/libraries/libiptcdata/libiptcdata.SlackBuild b/libraries/libiptcdata/libiptcdata.SlackBuild index f2ecfea9ac..c579289ef7 100644 --- a/libraries/libiptcdata/libiptcdata.SlackBuild +++ b/libraries/libiptcdata/libiptcdata.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for libiptcdata # Home Page http://libiptcdata.sourceforge.net/ -# Copyright (c) 2009, Nishant Limbachia, Hoffman Estates, IL, USA [nishant@mnspace.net] +# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ PRGNAM=libiptcdata VERSION=1.0.4 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -36,9 +36,9 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "${PY_BINDINGS:-yes}" = "yes" ]; then - py_option="--enable" + py_option="--enable" else - py_option="--disable" + py_option="--disable" fi if [ "$ARCH" = "i486" ]; then @@ -59,6 +59,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $TMP/$PRGNAM-$VERSION + chown -R root.root . find . \ \( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \ @@ -89,14 +90,8 @@ cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$V cp -a python/examples $PKG/usr/doc/$PRGNAM-$VERSION install -m 0644 python/README $PKG/usr/doc/$PRGNAM-$VERSION/README.PYTHON-BINDINGS -### move html docs -mv $PKG/usr/share/gtk-doc/html $PKG/usr/doc/$PRGNAM-$VERSION -rmdir $PKG/usr/share/gtk-doc - -( cd $PKG/usr/man || exit 1 - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +### link html docs +ln -s $PKG/usr/share/gtk-doc/html/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION/html mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |