wok-next view gtkdatabox/receipt @ rev 20456

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 03:33:54 2018 +0200 (2018-03-02)
parents 76b72f1ad63c
children d43bf7aae921
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="http://sourceforge.net/projects/gtkdatabox/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="pkg-config libffi gtk+-dev"
15 SPLIT="gtkdatabox-dev"
17 compile_rules() {
18 # Fix from gentoo
19 # http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-libs/gtkdatabox/gtkdatabox-0.9.1.1.ebuild?view=markup
20 # Remove -D.*DISABLE_DEPRECATED cflags
21 find . -iname 'Makefile.am' -exec \
22 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + && \
23 # Do Makefile.in after Makefile.am to avoid automake maintainer-mode
24 find . -iname 'Makefile.in' -exec \
25 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + && \
27 ./configure $CONFIGURE_ARGS && make && make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 gtkdatabox)
33 copy @std
34 DEPENDS="gtk+"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }