wok view gambas2/receipt @ rev 24950

updated nagios-plugins and nagios-plugins-mysql (2.3.3 -> 2.4.0)
author Hans-G?nter Theisgen
date Sat Apr 23 10:03:51 2022 +0100 (2022-04-23)
parents 93d12db6c664
children 7dd01dedad38
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 freetype-dev fontconfig-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/gambas/files/gambas2/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/gambas2/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i '/0.17.0 poppler/{N;p;s/17/20/g}' gb.pdf/configure.ac
30 cp $stuff/CPdfDocument.cpp gb.pdf/src/CPdfDocument.cpp
31 ./reconf-all
32 ./configure \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --mandir=/usr/share/man \
36 $CONFIGURE_ARGS &&
37 make &&
38 make -j 1 DESTDIR=$DESTDIR install 2>&1 | \
39 sed 's/ERROR:/Error:/;s/: No such file/: no such file/'
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib $fs/usr
48 cp -a $install/usr/share $fs/usr
49 }