wok-stable view libnsgif/receipt @ rev 3659

Hack coreutils compile
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 07 20:54:42 2009 +0200 (2009-07-07)
parents
children e77ae23617fe
line source
1 # SliTaz package receipt.
3 PACKAGE="libnsgif"
4 VERSION="7369"
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/hubbub/"
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 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib
25 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
26 }