wok annotate sip/receipt @ rev 11667

zsh: pre_remove restore sh link
author Richard Dunbar <mojo@slitaz.org>
date Thu Feb 16 16:33:16 2012 +0000 (2012-02-16)
parents d5d3d87300a7
children f82ad429f28c
rev   line source
allan316@3295 1 # SliTaz package receipt.
allan316@3295 2
allan316@3295 3 PACKAGE="sip"
gokhlayeh@11441 4 VERSION="4.13"
allan316@3295 5 CATEGORY="development"
allan316@3295 6 SHORT_DESC="needed for PyQt"
allan316@3295 7 MAINTAINER="allan316@gmail.com"
allan316@3295 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
allan316@3295 9 WEB_SITE="http://www.riverbankcomputing.co.uk"
allan316@3295 10 WGET_URL="$WEB_SITE/static/Downloads/sip4/$TARBALL"
allan316@3295 11
slaxemulator@11031 12 DEPENDS="python gcc-lib-base"
slaxemulator@11031 13 BUILD_DEPENDS="python-dev"
slaxemulator@11031 14
allan316@3295 15 # Rules to configure and make the package.
allan316@3295 16 compile_rules()
allan316@3295 17 {
allan316@3295 18 cd $src
allan316@3295 19 python configure.py
pascal@5007 20 make &&
slaxemulator@11031 21 make DESTDIR=$DESTDIR install
allan316@3295 22 }
allan316@3295 23
allan316@3295 24 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3295 25 genpkg_rules()
allan316@3295 26 {
allan316@3295 27 mkdir -p $fs/usr
slaxemulator@11031 28 cp -a $install/usr/bin $fs/usr
slaxemulator@11031 29 cp -a $install/usr/lib $fs/usr
allan316@3295 30 }
allan316@3295 31