wok-next view gtkdatabox/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | a3c581bf52b8 |
children | d5aab818505e |
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="pankso@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 }