wok annotate goocanvas/receipt @ rev 25491
Up foomatic-db-nonfree (20221116)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 17 12:13:24 2022 +0000 (23 months ago) |
parents | 6831608a1b2a |
children |
rev | line source |
---|---|
slaxemulator@6907 | 1 # SliTaz package receipt. |
slaxemulator@6907 | 2 |
slaxemulator@6907 | 3 PACKAGE="goocanvas" |
Hans-G?nter@24615 | 4 VERSION="3.0.0" |
slaxemulator@6907 | 5 CATEGORY="x-window" |
Hans-G?nter@20988 | 6 SHORT_DESC="A cairo canvas widget for GTK+." |
slaxemulator@6907 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@20988 | 9 WEB_SITE="https://wiki.gnome.org/Projects/GooCanvas" |
slaxemulator@6907 | 10 |
Hans-G?nter@20988 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@20988 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
Hans-G?nter@20988 | 13 |
Hans-G?nter@24615 | 14 SUGGESTED="goocanvas-lang" |
Hans-G?nter@24615 | 15 DEPENDS="gtk+3 libxml2" |
Hans-G?nter@24615 | 16 BUILD_DEPENDS="gtk+3-dev libxml2-dev" |
pascal@15000 | 17 |
pascal@24111 | 18 current_version() |
pascal@24111 | 19 { |
pascal@24111 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 22 } |
pascal@24111 | 23 |
slaxemulator@6907 | 24 # Rules to configure and make the package. |
slaxemulator@6907 | 25 compile_rules() |
slaxemulator@6907 | 26 { |
Hans-G?nter@20988 | 27 ./configure \ |
Hans-G?nter@20988 | 28 --prefix=/usr \ |
slaxemulator@6907 | 29 --infodir=/usr/share/info \ |
Hans-G?nter@20988 | 30 --mandir=/usr/share/man \ |
slaxemulator@6907 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@24615 | 32 make && |
Hans-G?nter@24615 | 33 make install DESTDIR=$DESTDIR |
slaxemulator@6907 | 34 } |
slaxemulator@6907 | 35 |
slaxemulator@6907 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6907 | 37 genpkg_rules() |
slaxemulator@6907 | 38 { |
Hans-G?nter@24615 | 39 cook_copy_files *.so* |
slaxemulator@6907 | 40 } |