wok-current annotate libnsgif/receipt @ rev 6446

Up: enca, enca-dev to 1.13.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Sep 28 13:40:47 2010 +0000 (2010-09-28)
parents b537813316cf
children d158f6149add
rev   line source
pankso@2826 1 # SliTaz package receipt.
pankso@2826 2
pankso@2826 3 PACKAGE="libnsgif"
pankso@4197 4 VERSION="9138"
pankso@2826 5 CATEGORY="system-tools"
pankso@2826 6 SHORT_DESC="Libnsgif is a decoding library for the GIF image file format."
pankso@2826 7 MAINTAINER="pankso@slitaz.org"
pankso@2826 8 BUILD_DEPENDS="subversion"
pankso@4197 9 WEB_SITE="http://www.netsurf-browser.org/projects/libnsgif/"
pankso@2826 10
pankso@2826 11 # Rules to configure and make the package.
pankso@2826 12 compile_rules()
pankso@2826 13 {
pankso@2826 14 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
pascal@5561 15 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
pascal@5561 16 if [ -f $TARBALL ]; then
pascal@5561 17 tar xzf $TARBALL
pascal@5561 18 else
pascal@5561 19 svn co svn://svn.netsurf-browser.org/trunk/libnsgif \
pascal@5563 20 -r $VERSION $PACKAGE-$VERSION &&
pascal@5561 21 tar czf $TARBALL $PACKAGE-$VERSION
pascal@5561 22 fi
pankso@2826 23 cd $src
pankso@2826 24 make install DESTDIR=$PWD/_pkg PREFIX=/usr &&
pankso@4197 25 make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr
pankso@2826 26 }
pankso@4197 27
pankso@2826 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2826 29 genpkg_rules()
pankso@2826 30 {
pankso@2826 31 mkdir -p $fs/usr/lib
pankso@2826 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@2826 33 }