wok-next view gtkdatabox/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | f48456621a9d |
children |
line source
1 # SliTaz package receipt v2.
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="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://sourceforge.net/projects/gtkdatabox/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="libffi gtk2-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 export LDFLAGS="$LDFLAGS -lm"
20 # Fix from gentoo
21 # http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-libs/gtkdatabox/gtkdatabox-0.9.1.1.ebuild?view=markup
22 # Remove -D.*DISABLE_DEPRECATED cflags
23 find . -iname 'Makefile.am' -exec \
24 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + &&
25 # Do Makefile.in after Makefile.am to avoid automake maintainer-mode
26 find . -iname 'Makefile.in' -exec \
27 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + &&
29 ./configure $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 gtkdatabox)
38 copy @std
39 DEPENDS="gtk2"
40 ;;
41 *-dev)
42 copy @dev
43 ;;
44 esac
45 }