wok annotate zenity/receipt @ rev 25363
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 08:19:17 2022 +0000 (2022-07-28) |
parents | 3828d7e5f56a |
children |
rev | line source |
---|---|
allan316@3642 | 1 # SliTaz package receipt. |
allan316@3642 | 2 |
allan316@3642 | 3 PACKAGE="zenity" |
Hans-G?nter@22327 | 4 VERSION="3.32.0" |
allan316@3642 | 5 CATEGORY="development" |
Hans-G?nter@22327 | 6 TAGS="dialogs gui" |
Hans-G?nter@22327 | 7 SHORT_DESC="GUI dialogs." |
allan316@3642 | 8 MAINTAINER="allan316@gmail.com" |
pascal@15361 | 9 LICENSE="LGPL2" |
Hans-G?nter@22327 | 10 WEB_SITE="https://wiki.gnome.org/Projects/Zenity" |
allan316@3642 | 11 |
Hans-G?nter@22327 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@22327 | 13 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
Hans-G?nter@22327 | 14 |
Hans-G?nter@22327 | 15 DEPENDS="gcc83-lib-base gtk+3 libglade libnotify" |
Hans-G?nter@22327 | 16 BUILD_DEPENDS="docbook-xsl gcc83 gnome-doc-utils-dev gtk+3-dev |
Hans-G?nter@22327 | 17 intltool itstool libglade-dev pkg-config" |
pascal@15361 | 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 |
allan316@3642 | 25 # Rules to configure and make the package. |
allan316@3642 | 26 compile_rules() |
allan316@3642 | 27 { |
Hans-G?nter@22327 | 28 ./configure \ |
Hans-G?nter@22327 | 29 CC=gcc-83 \ |
Hans-G?nter@22327 | 30 CXX=g++-83 \ |
Hans-G?nter@22327 | 31 --prefix=/usr \ |
Hans-G?nter@22327 | 32 --localstatedir=/var/lib \ |
Hans-G?nter@22327 | 33 --disable-scrollkeeper \ |
Hans-G?nter@22327 | 34 --infodir=/usr/share/info \ |
Hans-G?nter@22327 | 35 --mandir=/usr/share/man \ |
allan316@3642 | 36 $CONFIGURE_ARGS && |
Hans-G?nter@22327 | 37 make && |
Hans-G?nter@22327 | 38 make DESTDIR=$DESTDIR install |
allan316@3642 | 39 } |
allan316@3642 | 40 |
allan316@3642 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3642 | 42 genpkg_rules() |
allan316@3642 | 43 { |
allan316@3642 | 44 mkdir -p $fs/usr/share |
Hans-G?nter@22327 | 45 |
Hans-G?nter@22327 | 46 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22327 | 47 cp -a $install/usr/share/zenity $fs/usr/share |
Hans-G?nter@22328 | 48 # cp -a $install/usr/share/omf $fs/usr/share |
Hans-G?nter@22327 | 49 |
pankso@7928 | 50 # gdialog wrapper need to be executable. |
pankso@7928 | 51 chmod +x $fs/usr/bin/* |
allan316@3642 | 52 } |