wok view libnsgif/receipt @ rev 5012

rm rpm in for loop to save RAM (thanks Eric)
author Rohit Joshi <jozee@slitaz.org>
date Sun Feb 28 19:50:05 2010 +0000 (2010-02-28)
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 }