wok-current annotate gtkdatabox/receipt @ rev 16805
Up hastapd (2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 06 10:56:03 2014 +0200 (2014-07-06) |
parents | bfef68ad0e7c |
children | 86790a278e70 |
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" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
pankso@3841 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@3841 | 10 WEB_SITE="http://sourceforge.net/projects/gtkdatabox/" |
pankso@3841 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@3841 | 12 |
pascal@14996 | 13 DEPENDS="gtk+" |
pascal@14996 | 14 BUILD_DEPENDS="pkg-config libffi gtk+-dev" |
pascal@14996 | 15 |
pankso@3841 | 16 # Rules to configure and make the package. |
pankso@3841 | 17 compile_rules() |
pankso@3841 | 18 { |
pankso@3841 | 19 cd $src |
gokhlayeh@8868 | 20 |
gokhlayeh@8868 | 21 # Fix from gentoo |
gokhlayeh@8868 | 22 # http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-libs/gtkdatabox/gtkdatabox-0.9.1.1.ebuild?view=markup |
gokhlayeh@8868 | 23 # Remove -D.*DISABLE_DEPRECATED cflags |
gokhlayeh@8868 | 24 find . -iname 'Makefile.am' -exec \ |
gokhlayeh@8868 | 25 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + && \ |
gokhlayeh@8868 | 26 # Do Makefile.in after Makefile.am to avoid automake maintainer-mode |
gokhlayeh@8868 | 27 find . -iname 'Makefile.in' -exec \ |
gokhlayeh@8868 | 28 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + && \ |
gokhlayeh@8868 | 29 |
gokhlayeh@11573 | 30 ./configure $CONFIGURE_ARGS && make && make install |
pankso@3841 | 31 } |
pankso@3841 | 32 |
pankso@3841 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3841 | 34 genpkg_rules() |
pankso@3841 | 35 { |
pankso@3841 | 36 mkdir -p $fs/usr/lib |
pascal@14996 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@3841 | 38 } |