wok-next annotate gtkdatabox/receipt @ rev 9498

Up: slitaz-configs (4.2) New theme and stuff (mabe use for 4.0)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 06 03:32:49 2011 +0200 (2011-04-06)
parents bf2321ae32bd
children b7319995b37e
rev   line source
pankso@3841 1 # SliTaz package receipt.
pankso@3841 2
pankso@3841 3 PACKAGE="gtkdatabox"
pankso@3841 4 VERSION="0.9.1.1"
pankso@3841 5 CATEGORY="development"
pankso@3841 6 SHORT_DESC="Widget for live display of large amounts of fluctuating data."
pankso@3841 7 MAINTAINER="pankso@slitaz.org"
pankso@3841 8 DEPENDS="gtk+"
gokhlayeh@8868 9 BUILD_DEPENDS="pkg-config"
pankso@3841 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@3841 11 WEB_SITE="http://sourceforge.net/projects/gtkdatabox/"
pankso@3841 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@3841 13
pankso@3841 14 # Rules to configure and make the package.
pankso@3841 15 compile_rules()
pankso@3841 16 {
pankso@3841 17 cd $src
gokhlayeh@8868 18
gokhlayeh@8868 19 # Fix from gentoo
gokhlayeh@8868 20 # http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-libs/gtkdatabox/gtkdatabox-0.9.1.1.ebuild?view=markup
gokhlayeh@8868 21 # Remove -D.*DISABLE_DEPRECATED cflags
gokhlayeh@8868 22 find . -iname 'Makefile.am' -exec \
gokhlayeh@8868 23 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + && \
gokhlayeh@8868 24 # Do Makefile.in after Makefile.am to avoid automake maintainer-mode
gokhlayeh@8868 25 find . -iname 'Makefile.in' -exec \
gokhlayeh@8868 26 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + && \
gokhlayeh@8868 27
gokhlayeh@8868 28 ./configure && make && make install
pankso@3841 29 }
pankso@3841 30
pankso@3841 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3841 32 genpkg_rules()
pankso@3841 33 {
pankso@3841 34 mkdir -p $fs/usr/lib
pankso@3841 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@3841 36 }