wok view pygoocanvas/receipt @ rev 24190

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