wok-next annotate gambas2/receipt @ rev 10628

gambas2: fix last commit
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 26 22:24:08 2011 +0200 (2011-05-26)
parents 9bd280b473ba
children 73641efed1cc
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"
pascal@10493 9 BUILD_DEPENDS="poppler-dev util-linux-ng-uuid-dev lcms-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@10628 23 make 2>&1 | sed s/ERROR:/Error:/ &&
pankso@10628 24 make DESTDIR=$DESTDIR install 2>&1 | sed s/ERROR:/Error:/
pankso@7881 25 }
pankso@7881 26
pankso@7881 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7881 28 genpkg_rules()
pankso@7881 29 {
pankso@7881 30 mkdir -p $fs/usr
pankso@7881 31 cp -a $_pkg/usr/bin $fs/usr
pankso@7881 32 cp -a $_pkg/usr/lib $fs/usr
pankso@7881 33 cp -a $_pkg/usr/share $fs/usr
pankso@7881 34 }