wok-next view gtkdatabox/receipt @ rev 20907
slitaz-base-files: set correct SLITAZ_ARCH in slitaz.conf (affected x86_64) - thanks shann
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 10 15:39:58 2018 +0300 (2018-08-10) |
parents | ada7455aa171 |
children | f48456621a9d |
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 gtk+-dev"
15 SPLIT="gtkdatabox-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="gtk+"
40 ;;
41 *-dev)
42 copy @dev
43 ;;
44 esac
45 }