wok-next view gambas2/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | 33da78f5fc46 |
children | e1c0edabdcb2 |
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 libpng16"
15 BUILD_DEPENDS="poppler-dev util-linux-uuid-dev lcms-dev tiff-dev jpeg-dev \
16 libpng16-dev autoconf automake libtool freetype-dev fontconfig-dev"
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 }