wok-6.x view gambas2/receipt @ rev 12536

rage: need auto tools
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 26 02:16:57 2012 +0200 (2012-04-26)
parents ef6aac3afb38
children e53e5e4b0f9e
line source
1 # SliTaz package receipt.
3 PACKAGE="gambas2"
4 VERSION="2.22.0"
5 CATEGORY="development"
6 SHORT_DESC="Free development environment based on a Basic interpreter"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="poppler util-linux-uuid"
9 BUILD_DEPENDS="poppler-dev util-linux-uuid-dev lcms-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://gambas.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/gambas/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make 2>&1 | sed s/ERROR:/Error:/ &&
24 make DESTDIR=$DESTDIR install 2>&1 | sed s/ERROR:/Error:/
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
33 cp -a $_pkg/usr/share $fs/usr
34 }