summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorPhilip Lacroix <philnx at posteo dot de>2015-03-07 23:59:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-07 23:59:26 +0700
commit99f005bbfeac97ecd96586dcec8c622837208995 (patch)
treebebaa7219da8aa9f948b4211412e70204f560a3c /libraries
parentb2f5d06a90f2d9ab2e4ab8ba535d7cf933a12772 (diff)
downloadslackbuilds-99f005bbfeac97ecd96586dcec8c622837208995.tar.gz
libraries/libucil: Updated for version 20110724.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libucil/libucil.SlackBuild23
-rw-r--r--libraries/libucil/libucil.info8
-rw-r--r--libraries/libucil/slack-desc4
3 files changed, 24 insertions, 11 deletions
diff --git a/libraries/libucil/libucil.SlackBuild b/libraries/libucil/libucil.SlackBuild
index 79eb6704e1..db80221ec5 100644
--- a/libraries/libucil/libucil.SlackBuild
+++ b/libraries/libucil/libucil.SlackBuild
@@ -23,7 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libucil
-VERSION=${VERSION:-0.9.10}
+SRCNAM=unicap
+VERSION=${VERSION:-20110724}
+SRCVERSION=${SRCVERSION:-c56564102dbf88d525b1cce4da7b031324aea718}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +61,17 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$SRCVERSION
+
+# 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
+ tar xvzf $CWD/$SRCNAM-$SRCVERSION.tar.gz
+fi
+
+cd $SRCNAM-$SRCVERSION/$PRGNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,6 +82,9 @@ find -L . \
PRGSHR=$PKG/usr/share
PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+# Generate build files.
+autoreconf --force --install
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -82,7 +95,7 @@ CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
mkdir -p $PRGDOC
diff --git a/libraries/libucil/libucil.info b/libraries/libucil/libucil.info
index 1ff24d1a06..a75b60622c 100644
--- a/libraries/libucil/libucil.info
+++ b/libraries/libucil/libucil.info
@@ -1,8 +1,8 @@
PRGNAM="libucil"
-VERSION="0.9.10"
-HOMEPAGE="http://unicap-imaging.org/"
-DOWNLOAD="http://unicap-imaging.org/downloads/libucil-0.9.10.tar.gz"
-MD5SUM="986adfd387d64726acd0267565ff9431"
+VERSION="20110724"
+HOMEPAGE="https://github.com/unicap"
+DOWNLOAD="https://github.com/unicap/unicap/archive/c56564102dbf88d525b1cce4da7b031324aea718.tar.gz"
+MD5SUM="094fc4e2918c8785988215e4584940c5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libunicap"
diff --git a/libraries/libucil/slack-desc b/libraries/libucil/slack-desc
index 02ae667146..6bbb85cd04 100644
--- a/libraries/libucil/slack-desc
+++ b/libraries/libucil/slack-desc
@@ -15,5 +15,5 @@ libucil:
libucil: The ucil library provides easy to use functions to render text
libucil: and graphic overlays onto video images.
libucil:
-libucil: Homepage: http://unicap-imaging.org
-libucil:
+libucil: Homepage: https://github.com/unicap
+libucil: