wok view libnsgif/receipt @ rev 5235
tazpkg-web: add 2.0 version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 08 17:25:45 2010 +0200 (2010-04-08) |
parents | 9ddd8d63344e |
children | b537813316cf |
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 svn co svn://svn.netsurf-browser.org/trunk/libnsgif \
16 -r $VERSION $PACKAGE-$VERSION
17 cd $src
18 make install DESTDIR=$PWD/_pkg PREFIX=/usr &&
19 make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
27 }