wok annotate Xdialog/receipt @ rev 24609
updated gnu-efi (3.0.11 -> 3.0.14)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 04 07:12:36 2022 +0100 (2022-03-04) |
parents | 11b5e93cb5f2 |
children | cc893214701f |
rev | line source |
---|---|
rcx@3507 | 1 # SliTaz package receipt. |
rcx@3507 | 2 |
rcx@3507 | 3 PACKAGE="Xdialog" |
rcx@3507 | 4 VERSION="2.3.1" |
rcx@3507 | 5 CATEGORY="x-window" |
rcx@3507 | 6 SHORT_DESC="Like 'dialog' or 'cdialog', but for X using GTK+." |
rcx@3507 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@15000 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15000 | 10 WEB_SITE="http://xdialog.free.fr/" |
pascal@15000 | 11 WGET_URL="http://xdialog.free.fr/$TARBALL" |
pascal@15000 | 12 |
rcx@3507 | 13 DEPENDS="glibc-base glib libgio expat zlib fontconfig freetype gtk+ atk \ |
rcx@3507 | 14 cairo pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \ |
rcx@3507 | 15 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \ |
rcx@3507 | 16 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender" |
al@19275 | 17 BUILD_DEPENDS="autoconf automake m4 gettext gtk+-dev" |
rcx@3507 | 18 |
pascal@24093 | 19 current_version() |
pascal@24093 | 20 { |
pascal@24093 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24093 | 22 sed '/current release is/!d;s|.*v||;s|. .*||' |
pascal@24093 | 23 } |
rcx@3507 | 24 # Rules to configure and make the package. |
rcx@3507 | 25 compile_rules() |
rcx@3507 | 26 { |
rcx@3507 | 27 autoconf && |
rcx@3507 | 28 ./configure \ |
rcx@3507 | 29 --with-gtk2 \ |
rcx@3507 | 30 --prefix=/usr \ |
rcx@3507 | 31 --sysconfdir=/etc \ |
rcx@3507 | 32 --mandir=/usr/share/man \ |
rcx@3507 | 33 --infodir=/usr/share/info \ |
rcx@3507 | 34 $CONFIGURE_ARGS && |
rcx@3507 | 35 make && |
pascal@15000 | 36 make DESTDIR=$DESTDIR install |
rcx@3507 | 37 } |
rcx@3507 | 38 |
rcx@3507 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3507 | 40 genpkg_rules() |
rcx@3507 | 41 { |
rcx@3507 | 42 mkdir -p $fs/usr |
pascal@15000 | 43 cp -a $install/usr/bin $fs/usr |
rcx@3507 | 44 } |