wok-4.x annotate python-gazpacho/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 744ed2c8cde8
children
rev   line source
claudinei@3833 1 # SliTaz package receipt.
claudinei@3833 2
claudinei@3833 3 PACKAGE="python-gazpacho"
claudinei@3833 4 SOURCE="gazpacho"
claudinei@3833 5 VERSION="0.7.2"
claudinei@3833 6 CATEGORY="development"
claudinei@3833 7 SHORT_DESC="A GUI builder for the GTK+ toolkit"
claudinei@3833 8 MAINTAINER="claudinei@slitaz.org"
claudinei@3833 9 DEPENDS="python pygtk python-kiwi"
claudinei@3833 10 BUILD_DEPENDS="python python-dev pygtk python-kiwi"
claudinei@3833 11 SUGGESTED="twisted"
claudinei@3833 12 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@3833 13 WEB_SITE="http://gazpacho.sicem.biz"
claudinei@3833 14 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/0.7/$TARBALL"
claudinei@3833 15
claudinei@3833 16 # Rules to configure and make the package.
claudinei@3833 17 compile_rules()
claudinei@3833 18 {
claudinei@3833 19 cd $src
slaxemulator@9012 20 python setup.py install --root=$DESTDIR || return 1
slaxemulator@9012 21 mkdir -p $DESTDIR/usr/share/locale/pt
slaxemulator@9012 22 cp -a locale/fr $DESTDIR/usr/share/locale
slaxemulator@9012 23 cp -a locale/pt_BR/LC_MESSAGES $DESTDIR/usr/share/locale/pt
claudinei@3833 24 }
claudinei@3833 25
claudinei@3833 26 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3833 27 genpkg_rules()
claudinei@3833 28 {
slaxemulator@9012 29 mkdir -p $fs/usr/share
claudinei@3833 30 cp -a $_pkg/usr/bin $fs/usr
claudinei@3833 31 cp -a $_pkg/usr/lib $fs/usr
claudinei@3833 32 cp -a $_pkg/usr/share $fs/usr
claudinei@3833 33 }
claudinei@3833 34