mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/libiptcdata: Build bump, script cleanup.
Removed man page handling code as there are no man pages. Symlink html docs instead of moving them to /usr/doc.
This commit is contained in:
parent
3232781490
commit
e5839d9564
3 changed files with 9 additions and 14 deletions
|
@ -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
|
||||
|
|
|
@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
|
|||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Nishant Limbachia"
|
||||
EMAIL="nishant@mnspace.net"
|
||||
APPROVED="dsomero"
|
||||
APPROVED="Erik Hanson"
|
||||
|
|
|
@ -13,7 +13,7 @@ libiptcdata: within images. Metadata can include captions and keywords
|
|||
libiptcdata: used by various photo management softwares. Library also
|
||||
libiptcdata: allows parsing, viewing, modifying and saving this metadata.
|
||||
libiptcdata:
|
||||
libiptcdata: Homepage: http://libiptcdata.sourceforge.net/
|
||||
libiptcdata: Home Page http://libiptcdata.sourceforge.net/
|
||||
libiptcdata:
|
||||
libiptcdata:
|
||||
libiptcdata:
|
||||
|
|
Loading…
Reference in a new issue