wok-current annotate gambas2/receipt @ rev 19526

gambas2, atril: update (b)depends
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Nov 28 15:23:07 2016 +0100 (2016-11-28)
parents a3f5bac150c5
children 33da78f5fc46
rev   line source
pankso@7881 1 # SliTaz package receipt.
pankso@7881 2
pankso@7881 3 PACKAGE="gambas2"
pascal@17778 4 VERSION="2.24.0"
pankso@7881 5 CATEGORY="development"
pankso@7881 6 SHORT_DESC="Free development environment based on a Basic interpreter"
pankso@7881 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pankso@7881 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@7881 10 WEB_SITE="http://gambas.sourceforge.net/"
pankso@7881 11 WGET_URL="$SF_MIRROR/gambas/$TARBALL"
pascal@13034 12 TAGS="interpreter basic"
pankso@7881 13
pascal@18441 14 DEPENDS="poppler util-linux-uuid lcms tiff jpeg libpng"
pascal@18441 15 BUILD_DEPENDS="poppler-dev util-linux-uuid-dev lcms-dev tiff-dev jpeg-dev \
psychomaniak@19526 16 libpng-dev autoconf automake libtool freetype-dev"
pascal@15000 17
pankso@7881 18 # Rules to configure and make the package.
pankso@7881 19 compile_rules()
pankso@7881 20 {
pascal@18440 21 sed -i '/0.17.0 poppler/{N;p;s/17/20/g}' gb.pdf/configure.ac
pascal@18440 22 cp $stuff/CPdfDocument.cpp gb.pdf/src/CPdfDocument.cpp
pascal@17781 23 ./reconf-all
pankso@7881 24 ./configure \
pankso@7881 25 --prefix=/usr \
pankso@7881 26 --infodir=/usr/share/info \
pankso@7881 27 --mandir=/usr/share/man \
pankso@7881 28 $CONFIGURE_ARGS &&
pascal@18441 29 make &&
pascal@18441 30 make DESTDIR=$DESTDIR install 2>&1 | \
pascal@18441 31 sed 's/ERROR:/Error:/;s/: No such file/: no such file/'
pankso@7881 32 }
pankso@7881 33
pankso@7881 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7881 35 genpkg_rules()
pankso@7881 36 {
pankso@7881 37 mkdir -p $fs/usr
pascal@15000 38 cp -a $install/usr/bin $fs/usr
pascal@15000 39 cp -a $install/usr/lib $fs/usr
pascal@15000 40 cp -a $install/usr/share $fs/usr
pankso@7881 41 }
psychomaniak@18209 42