wok-6.x annotate gambas2/receipt @ rev 12685

linux: fix modules.list to use new .xz compressed modules
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 01 23:48:55 2012 +0200 (2012-05-01)
parents ef6aac3afb38
children e53e5e4b0f9e
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@12481 8 DEPENDS="poppler util-linux-uuid"
pankso@12481 9 BUILD_DEPENDS="poppler-dev util-linux-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 }