mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/libucil: Updated for version 20110724.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b2f5d06a90
commit
99f005bbfe
3 changed files with 24 additions and 11 deletions
|
@ -23,7 +23,9 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=libucil
|
PRGNAM=libucil
|
||||||
VERSION=${VERSION:-0.9.10}
|
SRCNAM=unicap
|
||||||
|
VERSION=${VERSION:-20110724}
|
||||||
|
SRCVERSION=${SRCVERSION:-c56564102dbf88d525b1cce4da7b031324aea718}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -59,9 +61,17 @@ set -e
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $SRCNAM-$SRCVERSION
|
||||||
tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
|
|
||||||
cd $PRGNAM-$VERSION
|
# 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 .
|
chown -R root:root .
|
||||||
find -L . \
|
find -L . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||||
|
@ -72,6 +82,9 @@ find -L . \
|
||||||
PRGSHR=$PKG/usr/share
|
PRGSHR=$PKG/usr/share
|
||||||
PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
|
PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
||||||
|
# Generate build files.
|
||||||
|
autoreconf --force --install
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
@ -82,7 +95,7 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
make
|
make
|
||||||
make install DESTDIR=$PKG
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
mkdir -p $PRGDOC
|
mkdir -p $PRGDOC
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="libucil"
|
PRGNAM="libucil"
|
||||||
VERSION="0.9.10"
|
VERSION="20110724"
|
||||||
HOMEPAGE="http://unicap-imaging.org/"
|
HOMEPAGE="https://github.com/unicap"
|
||||||
DOWNLOAD="http://unicap-imaging.org/downloads/libucil-0.9.10.tar.gz"
|
DOWNLOAD="https://github.com/unicap/unicap/archive/c56564102dbf88d525b1cce4da7b031324aea718.tar.gz"
|
||||||
MD5SUM="986adfd387d64726acd0267565ff9431"
|
MD5SUM="094fc4e2918c8785988215e4584940c5"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="libunicap"
|
REQUIRES="libunicap"
|
||||||
|
|
|
@ -15,5 +15,5 @@ libucil:
|
||||||
libucil: The ucil library provides easy to use functions to render text
|
libucil: The ucil library provides easy to use functions to render text
|
||||||
libucil: and graphic overlays onto video images.
|
libucil: and graphic overlays onto video images.
|
||||||
libucil:
|
libucil:
|
||||||
libucil: Homepage: http://unicap-imaging.org
|
libucil: Homepage: https://github.com/unicap
|
||||||
libucil:
|
libucil:
|
||||||
|
|
Loading…
Reference in a new issue