wok-next view sip/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 942c7ccb4a28
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="sip"
4 VERSION="4.12.1"
5 CATEGORY="development"
6 SHORT_DESC="needed for PyQt"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="python gcc-lib-base"
9 BUILD_DEPENDS="python-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.riverbankcomputing.co.uk"
12 WGET_URL="$WEB_SITE/static/Downloads/sip4/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python configure.py
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 strip -s $fs/usr/bin/*
30 }