wok view gambas2/receipt @ rev 23912
linux: add CONFIG_I2C_HID
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 16 10:22:39 2020 +0000 (2020-08-16) |
parents | 33da78f5fc46 |
children | 932cd974e081 |
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 # 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 -j 1 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 }