wok-4.x view gambas2/receipt @ rev 10627
gambas2: try an other trick
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 26 21:51:56 2011 +0200 (2011-05-26) |
parents | 6b1ce5d876c8 |
children | ef6aac3afb38 |
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-ng-uuid"
9 BUILD_DEPENDS="poppler-dev util-linux-ng-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> | sed s/ERROR:/Error:/ &&
24 make DESTDIR=$DESTDIR install 2> | 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 }