wok-6.x annotate python-gazpacho/receipt @ rev 24692
updated jsoncpp (1.9.2 -> 1.9.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 15:46:33 2022 +0100 (2022-03-12) |
parents | e66efc062996 |
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" |
pascal@15378 | 9 LICENSE="LGPL2.1" |
claudinei@3833 | 10 SUGGESTED="twisted" |
claudinei@3833 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@21790 | 12 WEB_SITE="https://web.archive.org/web/20090425115052/http://gazpacho.sicem.biz/" |
pascal@24111 | 13 WGET_URL="https://download.gnome.org/sources/$SOURCE/${VERSION%.*}/$TARBALL" |
claudinei@3833 | 14 |
pascal@15378 | 15 DEPENDS="python pygtk python-kiwi" |
pascal@15378 | 16 BUILD_DEPENDS="python python-dev pygtk python-kiwi" |
pascal@15378 | 17 |
pascal@24111 | 18 current_version() |
pascal@24111 | 19 { |
pascal@24111 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 22 } |
pascal@24111 | 23 |
claudinei@3833 | 24 # Rules to configure and make the package. |
claudinei@3833 | 25 compile_rules() |
claudinei@3833 | 26 { |
slaxemulator@9012 | 27 python setup.py install --root=$DESTDIR || return 1 |
slaxemulator@9012 | 28 mkdir -p $DESTDIR/usr/share/locale/pt |
slaxemulator@9012 | 29 cp -a locale/fr $DESTDIR/usr/share/locale |
slaxemulator@9012 | 30 cp -a locale/pt_BR/LC_MESSAGES $DESTDIR/usr/share/locale/pt |
claudinei@3833 | 31 } |
claudinei@3833 | 32 |
claudinei@3833 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3833 | 34 genpkg_rules() |
claudinei@3833 | 35 { |
slaxemulator@9012 | 36 mkdir -p $fs/usr/share |
pascal@15378 | 37 cp -a $install/usr/bin $fs/usr |
pascal@15378 | 38 cp -a $install/usr/lib $fs/usr |
pascal@15378 | 39 cp -a $install/usr/share $fs/usr |
claudinei@3833 | 40 } |
al@18077 | 41 |