wok annotate glade3/receipt @ rev 25510
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 20:36:56 2023 +0000 (19 months ago) |
parents | c223f38b1f12 |
children |
rev | line source |
---|---|
pankso@615 | 1 # SliTaz package receipt. |
pankso@615 | 2 |
pankso@615 | 3 PACKAGE="glade3" |
Hans-G?nter@22851 | 4 VERSION="3.8.6" |
pascal@741 | 5 CATEGORY="development" |
pankso@615 | 6 SHORT_DESC="Vector drawing application." |
pankso@615 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15021 | 8 LICENSE="LGPL" |
pascal@20669 | 9 WEB_SITE="https://glade.gnome.org/" |
Hans-G?nter@22851 | 10 |
Hans-G?nter@22851 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@8662 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@615 | 13 |
Hans-G?nter@22851 | 14 SUGGESTED="python" |
pascal@15021 | 15 DEPENDS="gtk+ libglade xorg-libXdamage" |
Hans-G?nter@22851 | 16 BUILD_DEPENDS="expat-dev gtk+-dev intltool itstool libgnome |
Hans-G?nter@22851 | 17 libxml2-dev python" |
pascal@15021 | 18 |
pascal@24111 | 19 current_version() |
pascal@24111 | 20 { |
pascal@24111 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 23 } |
pascal@24111 | 24 |
pankso@615 | 25 # Rules to configure and make the package. |
pankso@615 | 26 compile_rules() |
pankso@615 | 27 { |
Hans-G?nter@22851 | 28 ./configure \ |
Hans-G?nter@22851 | 29 --prefix=/usr \ |
Hans-G?nter@22851 | 30 --with-html-dir=/usr/share/doc \ |
Hans-G?nter@22851 | 31 --disable-scrollkeeper \ |
pascal@4320 | 32 $CONFIGURE_ARGS |
pascal@4320 | 33 # Doc doesn't built |
pascal@4320 | 34 sed -i 's/= help/=/' Makefile |
pascal@1514 | 35 make && |
pascal@15021 | 36 make DESTDIR=$DESTDIR install |
pankso@615 | 37 } |
pankso@615 | 38 |
pankso@615 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@615 | 40 genpkg_rules() |
pankso@615 | 41 { |
Hans-G?nter@22851 | 42 mkdir -p $fs/usr/lib |
Hans-G?nter@22851 | 43 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@22851 | 44 |
Hans-G?nter@22851 | 45 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22851 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22851 | 47 cp -a $install/usr/lib/glade3 $fs/usr/lib |
Hans-G?nter@22851 | 48 rm $fs/usr/lib/glade3/modules/*.*a |
pascal@15021 | 49 cp -a $install/usr/share/icons/hicolor/24x24/apps/* \ |
Hans-G?nter@22851 | 50 $fs/usr/share/pixmaps |
Hans-G?nter@22851 | 51 cp -a $install/usr/share/glade3 $fs/usr/share |
pankso@615 | 52 } |