wok-next annotate gambas2/receipt @ rev 15629

xine-plugin: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 09 08:26:16 2013 +0000 (2013-12-09)
parents e53e5e4b0f9e
children 30df8b559c87
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"
pascal@15000 8 LICENSE="GPL2"
pankso@7881 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@7881 10 WEB_SITE="http://gambas.sourceforge.net/"
pankso@7881 11 WGET_URL="$SF_MIRROR/gambas/$TARBALL"
pascal@13034 12 TAGS="interpreter basic"
pankso@7881 13
pascal@15000 14 DEPENDS="poppler util-linux-uuid"
pascal@15000 15 BUILD_DEPENDS="poppler-dev util-linux-uuid-dev lcms-dev"
pascal@15000 16
pankso@7881 17 # Rules to configure and make the package.
pankso@7881 18 compile_rules()
pankso@7881 19 {
pankso@7881 20 cd $src
pankso@7881 21 ./configure \
pankso@7881 22 --prefix=/usr \
pankso@7881 23 --infodir=/usr/share/info \
pankso@7881 24 --mandir=/usr/share/man \
pankso@7881 25 $CONFIGURE_ARGS &&
pankso@10628 26 make 2>&1 | sed s/ERROR:/Error:/ &&
pankso@10628 27 make DESTDIR=$DESTDIR install 2>&1 | sed s/ERROR:/Error:/
pankso@7881 28 }
pankso@7881 29
pankso@7881 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7881 31 genpkg_rules()
pankso@7881 32 {
pankso@7881 33 mkdir -p $fs/usr
pascal@15000 34 cp -a $install/usr/bin $fs/usr
pascal@15000 35 cp -a $install/usr/lib $fs/usr
pascal@15000 36 cp -a $install/usr/share $fs/usr
pankso@7881 37 }