wok-next diff Xdialog/receipt @ rev 9259
Use SOURCE to define tarball properly (thanks Godane)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 15 03:39:52 2011 +0100 (2011-03-15) |
parents | |
children | 380ffe05937a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Xdialog/receipt Tue Mar 15 03:39:52 2011 +0100 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="Xdialog" 1.7 +VERSION="2.3.1" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Like 'dialog' or 'cdialog', but for X using GTK+." 1.10 +MAINTAINER="rcx@zoominternet.net" 1.11 +DEPENDS="glibc-base glib libgio expat zlib fontconfig freetype gtk+ atk \ 1.12 +cairo pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \ 1.13 +xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \ 1.14 +xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender" 1.15 +BUILD_DEPENDS="slitaz-toolchain autoconf automake m4 gettext gtk+ gtk+-dev" 1.16 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 +WEB_SITE="http://xdialog.free.fr/" 1.18 +WGET_URL="http://xdialog.free.fr/$TARBALL" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + cd $src 1.24 + autoconf && 1.25 + ./configure \ 1.26 + --with-gtk2 \ 1.27 + --prefix=/usr \ 1.28 + --sysconfdir=/etc \ 1.29 + --mandir=/usr/share/man \ 1.30 + --infodir=/usr/share/info \ 1.31 + $CONFIGURE_ARGS && 1.32 + make && 1.33 + make DESTDIR=$PWD/_pkg install 1.34 +} 1.35 + 1.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 +genpkg_rules() 1.38 +{ 1.39 + mkdir -p $fs/usr 1.40 + cp -a $_pkg/usr/bin $fs/usr 1.41 +}