wok-4.x annotate libnsgif/receipt @ rev 3060

Linux: don't forget firmwares...
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 13 17:34:54 2009 +0200 (2009-05-13)
parents
children e77ae23617fe
rev   line source
pankso@2826 1 # SliTaz package receipt.
pankso@2826 2
pankso@2826 3 PACKAGE="libnsgif"
pankso@2826 4 VERSION="7369"
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@2826 9 WEB_SITE="http://www.netsurf-browser.org/projects/hubbub/"
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
pankso@2826 15 svn co svn://svn.netsurf-browser.org/trunk/libnsgif \
pankso@2826 16 -r $VERSION $PACKAGE-$VERSION
pankso@2826 17 cd $src
pankso@2826 18 make install DESTDIR=$PWD/_pkg PREFIX=/usr &&
pankso@2826 19 make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr
pankso@2826 20 }
pankso@2826 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2826 22 genpkg_rules()
pankso@2826 23 {
pankso@2826 24 mkdir -p $fs/usr/lib
pankso@2826 25 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@2826 26 }