wok-current view sip/receipt @ rev 4481

linux: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 14 15:44:04 2009 +0100 (2009-11-14)
parents
children 4897058add72
line source
1 # SliTaz package receipt.
3 PACKAGE="sip"
4 VERSION="4.8"
5 CATEGORY="development"
6 SHORT_DESC="needed for PyQt"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="python"
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 }