wok-next view libcss/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
children 6e24618e3b76
line source
1 # SliTaz package receipt.
3 PACKAGE="libcss"
4 VERSION="0.0.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="CSS Parser"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libparserutils libwapcaplet"
9 BUILD_DEPENDS="libwapcaplet-dev libparserutils-dev"
10 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
11 WEB_SITE="http://www.netsurf-browser.org/projects/libcss/"
12 WGET_URL="http://www.netsurf-browser.org/projects/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 COMPONENT_TYPE=lib-shared make \
19 && PREFIX=/usr make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $src/*-lib-shared/*.so* $fs/usr/lib
27 }