summaryrefslogtreecommitdiffstats
path: root/libraries/libucil/libucil.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libucil/libucil.SlackBuild')
-rw-r--r--libraries/libucil/libucil.SlackBuild21
1 files changed, 11 insertions, 10 deletions
diff --git a/libraries/libucil/libucil.SlackBuild b/libraries/libucil/libucil.SlackBuild
index db80221ec5..1c0f4972e6 100644
--- a/libraries/libucil/libucil.SlackBuild
+++ b/libraries/libucil/libucil.SlackBuild
@@ -24,8 +24,8 @@
PRGNAM=libucil
SRCNAM=unicap
-VERSION=${VERSION:-20110724}
-SRCVERSION=${SRCVERSION:-c56564102dbf88d525b1cce4da7b031324aea718}
+VERSION=${VERSION:-20150328}
+SRCVERSION=${SRCVERSION:-2c600aef122e1b82d7ff08c176663db181f8d002}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,8 +63,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$SRCVERSION
-# The upstream tarball will be named differently, depending on the
-# file being downloaded manually (web browser) or with wget.
+# The upstream tarball will be named differently, depending on
+# the file being downloaded manually (web browser) or with wget.
if [ -e $CWD/$SRCVERSION.tar.gz ]; then
tar xvzf $CWD/$SRCVERSION.tar.gz
else
@@ -79,10 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-PRGSHR=$PKG/usr/share
-PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
-
-# Generate build files.
+# Generate configuration files.
autoreconf --force --install
CFLAGS="$SLKCFLAGS" \
@@ -95,9 +92,13 @@ CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
+ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+PRGSHR=$PKG/usr/share
+PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+# Install documentation.
mkdir -p $PRGDOC
cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL README $PRGDOC/
ln -sf /usr/share/gtk-doc/html/$PRGNAM $PRGDOC/html