wok-4.x annotate zenity/receipt @ rev 3653
Add: libarchive, libarchive-dev
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Jul 06 23:52:56 2009 +0200 (2009-07-06) |
parents | |
children | 7e4cc2ea9585 |
rev | line source |
---|---|
allan316@3642 | 1 # SliTaz package receipt. |
allan316@3642 | 2 |
allan316@3642 | 3 PACKAGE="zenity" |
allan316@3642 | 4 VERSION="2.26.0" |
allan316@3642 | 5 CATEGORY="development" |
allan316@3642 | 6 SHORT_DESC="gui dialogs" |
allan316@3642 | 7 MAINTAINER="allan316@gmail.com" |
allan316@3642 | 8 DEPENDS="gnome-doc-utils libgnomecanvas" |
allan316@3642 | 9 BUILD_DEPENDS="gnome-doc-utils-dev libgnomecanvas-dev" |
allan316@3642 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@3642 | 11 WEB_SITE="http://www.gnome.org" |
allan316@3642 | 12 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/zenity/2.26/$TARBALL" |
allan316@3642 | 13 |
allan316@3642 | 14 # Rules to configure and make the package. |
allan316@3642 | 15 compile_rules() |
allan316@3642 | 16 { |
allan316@3642 | 17 cd $src |
allan316@3642 | 18 ./configure \ |
allan316@3642 | 19 --prefix=/usr \ |
allan316@3642 | 20 --localstatedir=/var/lib \ |
allan316@3642 | 21 --disable-scrollkeeper \ |
allan316@3642 | 22 --infodir=/usr/share/info \ |
allan316@3642 | 23 --mandir=/usr/share/man \ |
allan316@3642 | 24 $CONFIGURE_ARGS && |
allan316@3642 | 25 make && make DESTDIR=$PWD/_pkg install |
allan316@3642 | 26 } |
allan316@3642 | 27 |
allan316@3642 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3642 | 29 genpkg_rules() |
allan316@3642 | 30 { |
allan316@3642 | 31 mkdir -p $fs/usr/share |
allan316@3642 | 32 cp -a $_pkg/usr/bin $fs/usr |
allan316@3642 | 33 cp -a $_pkg/usr/share/zenity $fs/usr/share |
allan316@3642 | 34 cp -a $_pkg/usr/share/omf $fs/usr/share |
allan316@3642 | 35 } |
allan316@3642 | 36 |