wok-next view libnsgif/receipt @ rev 9012

python-gazpacho: Replace _pkg with DESTDIR. This fixes it.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 03 12:49:02 2011 +0000 (2011-03-03)
parents a11358feced4
children 1fd357e6acdf
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/"
10 WGET_URL="subversion|svn://svn.netsurf-browser.org/trunk/libnsgif"
11 BRANCH="$VERSION"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make install DESTDIR=$PWD/_pkg PREFIX=/usr &&
18 make install COMPONENT_TYPE=lib-shared DESTDIR=$PWD/_pkg PREFIX=/usr
19 }
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 }