wok-6.x view gtkdatabox/receipt @ rev 21505
mygestures: export commands inserted
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 02 16:34:14 2019 +0100 (2019-05-02) |
parents | 76b72f1ad63c |
children | 932cd974e081 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkdatabox"
4 VERSION="0.9.1.1"
5 CATEGORY="development"
6 SHORT_DESC="Widget for live display of large amounts of fluctuating data."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://sourceforge.net/projects/gtkdatabox/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+"
14 BUILD_DEPENDS="pkg-config libffi gtk+-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 # Fix from gentoo
22 # http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-libs/gtkdatabox/gtkdatabox-0.9.1.1.ebuild?view=markup
23 # Remove -D.*DISABLE_DEPRECATED cflags
24 find . -iname 'Makefile.am' -exec \
25 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + && \
26 # Do Makefile.in after Makefile.am to avoid automake maintainer-mode
27 find . -iname 'Makefile.in' -exec \
28 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + && \
30 ./configure $CONFIGURE_ARGS && make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }