wok-next view gambas2/receipt @ rev 14509

get-src2pkg: fix pkg name
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 14 07:41:25 2013 +0200 (2013-05-14)
parents 73641efed1cc
children 380ffe05937a
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"
13 TAGS="interpreter basic"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make 2>&1 | sed s/ERROR:/Error:/ &&
25 make DESTDIR=$DESTDIR install 2>&1 | sed s/ERROR:/Error:/
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 cp -a $_pkg/usr/share $fs/usr
35 }