wok-stable annotate gambas2/receipt @ rev 8342
Fix: screen doesn't support DESTDIR environnment variable; fix bdep
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Feb 02 05:33:44 2011 +0100 (2011-02-02) |
parents | |
children | 3242269e7bca |
rev | line source |
---|---|
pankso@7881 | 1 # SliTaz package receipt. |
pankso@7881 | 2 |
pankso@7881 | 3 PACKAGE="gambas2" |
pankso@7881 | 4 VERSION="2.22.0" |
pankso@7881 | 5 CATEGORY="development" |
pankso@7881 | 6 SHORT_DESC="Free development environment based on a Basic interpreter" |
pankso@7881 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@7881 | 8 DEPENDS="poppler util-linux-ng-uuid" |
pankso@7881 | 9 BUILD_DEPENDS="poppler-dev util-linux-ng-uuid-dev" |
pankso@7881 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@7881 | 11 WEB_SITE="http://gambas.sourceforge.net/" |
pankso@7881 | 12 WGET_URL="$SF_MIRROR/gambas/$TARBALL" |
pankso@7881 | 13 |
pankso@7881 | 14 # Rules to configure and make the package. |
pankso@7881 | 15 compile_rules() |
pankso@7881 | 16 { |
pankso@7881 | 17 cd $src |
pankso@7881 | 18 ./configure \ |
pankso@7881 | 19 --prefix=/usr \ |
pankso@7881 | 20 --infodir=/usr/share/info \ |
pankso@7881 | 21 --mandir=/usr/share/man \ |
pankso@7881 | 22 $CONFIGURE_ARGS && |
pankso@7881 | 23 make && make DESTDIR=$PWD/_pkg install |
pankso@7881 | 24 } |
pankso@7881 | 25 |
pankso@7881 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7881 | 27 genpkg_rules() |
pankso@7881 | 28 { |
pankso@7881 | 29 mkdir -p $fs/usr |
pankso@7881 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@7881 | 31 cp -a $_pkg/usr/lib $fs/usr |
pankso@7881 | 32 cp -a $_pkg/usr/share $fs/usr |
pankso@7881 | 33 } |