wok annotate pygoocanvas/receipt @ rev 24501
updated drbd-utils (9.11.0 -> 9.20.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 09:23:47 2022 +0100 (2022-02-20) |
parents | 7f7bb07cd863 |
children |
rev | line source |
---|---|
slaxemulator@6909 | 1 # SliTaz package receipt. |
slaxemulator@6909 | 2 |
slaxemulator@6909 | 3 PACKAGE="pygoocanvas" |
slaxemulator@6909 | 4 VERSION="0.14.1" |
slaxemulator@6909 | 5 CATEGORY="development" |
slaxemulator@6909 | 6 SHORT_DESC="GooCanvas python bindings" |
slaxemulator@6909 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15376 | 8 LICENSE="GPL2" |
slaxemulator@6909 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20716 | 10 WEB_SITE="https://wiki.gnome.org/Attic/PyGoocanvas" |
slaxemulator@6909 | 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygoocanvas/${VERSION%.*}/$TARBALL" |
slaxemulator@6909 | 12 |
pascal@15376 | 13 DEPENDS="python pygtk goocanvas" |
pascal@15376 | 14 BUILD_DEPENDS="goocanvas-dev python-dev pygobject-dev pycairo-dev pygtk-dev pkg-config" |
pascal@15376 | 15 |
pascal@24083 | 16 current_version() |
pascal@24083 | 17 { |
pascal@24083 | 18 local base=http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE |
pascal@24083 | 19 wget -O - $base/$(wget -O - $base 2>/dev/null | \ |
pascal@24083 | 20 sed '/href=.[0-9]/!d;s|.*href=.||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ |
pascal@24083 | 21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24083 | 22 } |
pascal@24083 | 23 |
slaxemulator@6909 | 24 # Rules to configure and make the package. |
slaxemulator@6909 | 25 compile_rules() |
slaxemulator@6909 | 26 { |
slaxemulator@6909 | 27 cd $src |
slaxemulator@6909 | 28 ./configure \ |
slaxemulator@6909 | 29 --prefix=/usr \ |
slaxemulator@6909 | 30 --infodir=/usr/share/info \ |
slaxemulator@6909 | 31 --mandir=/usr/share/man \ |
slaxemulator@6909 | 32 --disable-docs \ |
slaxemulator@6909 | 33 $CONFIGURE_ARGS && |
pascal@15376 | 34 make && make DESTDIR=$DESTDIR install |
slaxemulator@6909 | 35 } |
slaxemulator@6909 | 36 |
slaxemulator@6909 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6909 | 38 genpkg_rules() |
slaxemulator@6909 | 39 { |
slaxemulator@6909 | 40 mkdir -p $fs/usr |
pascal@15376 | 41 cp -a $install/usr/lib $fs/usr |
slaxemulator@6909 | 42 } |