wok-4.x view libnsgif/receipt @ rev 6281

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