wok-6.x view gtkdatabox/receipt @ rev 22510

updated astromenace again (1.3.2 -> 1.4.1)
author Hans-G?nter Theisgen
date Wed Jan 01 15:19:37 2020 +0100 (2020-01-01)
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 }