wok-current annotate Xdialog/receipt @ rev 14032
gocr: use pnm2png, not pnmtopng
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 11:06:24 2013 +0100 (2013-02-18) |
parents | |
children | 380ffe05937a |
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" |
rcx@3507 | 8 DEPENDS="glibc-base glib libgio expat zlib fontconfig freetype gtk+ atk \ |
rcx@3507 | 9 cairo pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \ |
rcx@3507 | 10 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \ |
rcx@3507 | 11 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender" |
rcx@3507 | 12 BUILD_DEPENDS="slitaz-toolchain autoconf automake m4 gettext gtk+ gtk+-dev" |
rcx@3507 | 13 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
rcx@3507 | 14 WEB_SITE="http://xdialog.free.fr/" |
rcx@3507 | 15 WGET_URL="http://xdialog.free.fr/$TARBALL" |
rcx@3507 | 16 |
rcx@3507 | 17 # Rules to configure and make the package. |
rcx@3507 | 18 compile_rules() |
rcx@3507 | 19 { |
rcx@3507 | 20 cd $src |
rcx@3507 | 21 autoconf && |
rcx@3507 | 22 ./configure \ |
rcx@3507 | 23 --with-gtk2 \ |
rcx@3507 | 24 --prefix=/usr \ |
rcx@3507 | 25 --sysconfdir=/etc \ |
rcx@3507 | 26 --mandir=/usr/share/man \ |
rcx@3507 | 27 --infodir=/usr/share/info \ |
rcx@3507 | 28 $CONFIGURE_ARGS && |
rcx@3507 | 29 make && |
rcx@3507 | 30 make DESTDIR=$PWD/_pkg install |
rcx@3507 | 31 } |
rcx@3507 | 32 |
rcx@3507 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3507 | 34 genpkg_rules() |
rcx@3507 | 35 { |
rcx@3507 | 36 mkdir -p $fs/usr |
rcx@3507 | 37 cp -a $_pkg/usr/bin $fs/usr |
rcx@3507 | 38 } |