wok view gambas2/receipt @ rev 18440

gambas2: update CPdfDocument.cpp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 23 19:44:57 2015 +0200 (2015-09-23)
parents feb2e0c63d21
children a3f5bac150c5
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"
15 BUILD_DEPENDS="poppler-dev util-linux-uuid-dev lcms-dev tiff-dev \
16 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 2>&1 | sed s/ERROR:/Error:/ &&
30 make DESTDIR=$DESTDIR install 2>&1 | sed s/ERROR:/Error:/
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/share $fs/usr
40 }