wok annotate libgnomecanvas/receipt @ rev 25123
updated ansible (2.9.10 -> 2.11.6)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:17:54 2022 +0100 (2022-06-28) |
parents | 86790a278e70 |
children |
rev | line source |
---|---|
pankso@37 | 1 # SliTaz package receipt. |
pankso@37 | 2 |
pankso@37 | 3 PACKAGE="libgnomecanvas" |
slaxemulator@10209 | 4 VERSION="2.30.3" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@37 | 6 SHORT_DESC="GNOME canvas library" |
pankso@37 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14714 | 8 LICENSE="GPL2" |
pankso@37 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20421 | 10 WEB_SITE="https://www.gnome.org/" |
slaxemulator@10209 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@37 | 12 |
pankso@9769 | 13 DEPENDS="gtk+ libglade libart_lgpl xorg-libXdamage xorg-libXcursor" |
gokhlayeh@11394 | 14 BUILD_DEPENDS="gtk+-dev libglade-dev libart_lgpl-dev xorg-libXcursor-dev \ |
gokhlayeh@11394 | 15 intltool" |
pankso@9769 | 16 |
pascal@24111 | 17 current_version() |
pascal@24111 | 18 { |
pascal@24111 | 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 21 } |
pascal@24111 | 22 |
pankso@37 | 23 # Rules to configure and make the package. |
pankso@37 | 24 compile_rules() |
pankso@37 | 25 { |
pankso@37 | 26 cd $src |
pankso@37 | 27 ./configure \ |
pankso@37 | 28 --with-html-dir=/usr/share/doc \ |
pascal@9125 | 29 --enable-glade \ |
pascal@2477 | 30 $CONFIGURE_ARGS && |
slaxemulator@10209 | 31 make && make install |
pankso@37 | 32 } |
pankso@37 | 33 |
pankso@37 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@37 | 35 genpkg_rules() |
pankso@37 | 36 { |
pankso@37 | 37 mkdir -p $fs/usr/lib $fs/usr/share/locale |
pankso@37 | 38 |
pankso@37 | 39 # Copy shared libs |
pascal@14714 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14714 | 41 cp -a $install/usr/lib/libglade $fs/usr/lib |
pankso@37 | 42 |
pascal@14714 | 43 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
pankso@37 | 44 |
pankso@37 | 45 # Remove static libs |
pankso@37 | 46 rm $fs/usr/lib/libglade/*/*.*a |
pankso@37 | 47 } |
pankso@37 | 48 |