wok-6.x annotate Xdialog/receipt @ rev 16137
ARM: try to cross compile GTK on Tank
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 26 00:28:42 2014 +0100 (2014-03-26) |
parents | 398fccd8a77f |
children | 45507bfb2b0d |
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" |
rcx@3507 | 17 BUILD_DEPENDS="slitaz-toolchain autoconf automake m4 gettext gtk+ gtk+-dev" |
rcx@3507 | 18 |
rcx@3507 | 19 # Rules to configure and make the package. |
rcx@3507 | 20 compile_rules() |
rcx@3507 | 21 { |
rcx@3507 | 22 cd $src |
rcx@3507 | 23 autoconf && |
rcx@3507 | 24 ./configure \ |
rcx@3507 | 25 --with-gtk2 \ |
rcx@3507 | 26 --prefix=/usr \ |
rcx@3507 | 27 --sysconfdir=/etc \ |
rcx@3507 | 28 --mandir=/usr/share/man \ |
rcx@3507 | 29 --infodir=/usr/share/info \ |
rcx@3507 | 30 $CONFIGURE_ARGS && |
rcx@3507 | 31 make && |
pascal@15000 | 32 make DESTDIR=$DESTDIR install |
rcx@3507 | 33 } |
rcx@3507 | 34 |
rcx@3507 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3507 | 36 genpkg_rules() |
rcx@3507 | 37 { |
rcx@3507 | 38 mkdir -p $fs/usr |
pascal@15000 | 39 cp -a $install/usr/bin $fs/usr |
rcx@3507 | 40 } |