wok-6.x view gambas2/receipt @ rev 18905
Add unbound
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 20 18:18:02 2016 +0100 (2016-02-20) |
parents | 5715af5ba060 |
children | 0812d027f57c |
line source
1 # SliTaz package receipt.
3 PACKAGE="gambas2"
4 VERSION="2.24.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 lcms tiff jpeg libpng"
15 BUILD_DEPENDS="poppler-dev util-linux-uuid-dev lcms-dev tiff-dev jpeg-dev \
16 libpng-dev autoconf automake libtool"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i '/0.17.0 poppler/{N;p;s/17/20/g}' gb.pdf/configure.ac
22 cp $stuff/CPdfDocument.cpp gb.pdf/src/CPdfDocument.cpp
23 ./reconf-all
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install 2>&1 | \
31 sed 's/ERROR:/Error:/;s/: No such file/: no such file/'
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/share $fs/usr
41 }