wok view gtkdatabox/receipt @ rev 18383

linux64-aufs: add 3.2.71 patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 18 09:16:57 2015 +0200 (2015-09-18)
parents bfef68ad0e7c
children 86790a278e70
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="http://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 }