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