wok-next annotate python-gazpacho/receipt @ rev 20949

Fix homepages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 01 16:21:51 2018 +0300 (2018-09-01)
parents 9b3461bf373c
children
rev   line source
claudinei@3833 1 # SliTaz package receipt.
claudinei@3833 2
claudinei@3833 3 PACKAGE="python-gazpacho"
claudinei@3833 4 VERSION="0.7.2"
claudinei@3833 5 CATEGORY="development"
claudinei@3833 6 SHORT_DESC="A GUI builder for the GTK+ toolkit"
claudinei@3833 7 MAINTAINER="claudinei@slitaz.org"
pascal@15378 8 LICENSE="LGPL2.1"
al@20885 9 WEB_SITE="http://gazpacho.sicem.biz"
al@20885 10 REPOLOGY="gazpacho"
al@20885 11
al@20885 12 SOURCE="gazpacho"
claudinei@3833 13 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@17869 14 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/${VERSION%.*}/$TARBALL"
claudinei@3833 15
al@20932 16 DEPENDS="python python-pygtk python-kiwi"
al@20885 17 SUGGESTED="twisted"
al@20932 18 BUILD_DEPENDS="python python-dev python-pygtk python-kiwi"
pascal@15378 19
claudinei@3833 20 # Rules to configure and make the package.
claudinei@3833 21 compile_rules()
claudinei@3833 22 {
slaxemulator@9012 23 python setup.py install --root=$DESTDIR || return 1
slaxemulator@9012 24 mkdir -p $DESTDIR/usr/share/locale/pt
slaxemulator@9012 25 cp -a locale/fr $DESTDIR/usr/share/locale
slaxemulator@9012 26 cp -a locale/pt_BR/LC_MESSAGES $DESTDIR/usr/share/locale/pt
claudinei@3833 27 }
claudinei@3833 28
claudinei@3833 29 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3833 30 genpkg_rules()
claudinei@3833 31 {
slaxemulator@9012 32 mkdir -p $fs/usr/share
pascal@15378 33 cp -a $install/usr/bin $fs/usr
pascal@15378 34 cp -a $install/usr/lib $fs/usr
pascal@15378 35 cp -a $install/usr/share $fs/usr
claudinei@3833 36 }
al@18077 37