wok-next view libnsgif/receipt @ rev 15603

Use install instead of _pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 10:39:07 2013 +0000 (2013-12-06)
parents 4904e3d374a9
children b269c5c2be2d
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 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.netsurf-browser.org/projects/libnsgif/"
11 WGET_URL="subversion|svn://svn.netsurf-browser.org/trunk/libnsgif"
12 BRANCH="$VERSION"
14 BUILD_DEPENDS="subversion"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 make install DESTDIR=$DESTDIR PREFIX=/usr &&
21 make install COMPONENT_TYPE=lib-shared DESTDIR=$DESTDIR PREFIX=/usr
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 }