wok-next annotate gtkdatabox/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | 0ec6086e21d6 |
children | a3c581bf52b8 |
rev | line source |
---|---|
al@20456 | 1 # SliTaz package receipt v2. |
pankso@3841 | 2 |
pankso@3841 | 3 PACKAGE="gtkdatabox" |
pankso@3841 | 4 VERSION="0.9.1.1" |
pankso@3841 | 5 CATEGORY="development" |
al@20456 | 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" |
al@20456 | 9 WEB_SITE="http://sourceforge.net/projects/gtkdatabox/" |
al@20456 | 10 |
pankso@3841 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@3841 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@3841 | 13 |
al@20513 | 14 BUILD_DEPENDS="libffi gtk+-dev" |
al@20456 | 15 SPLIT="gtkdatabox-dev" |
pascal@14996 | 16 |
al@20456 | 17 compile_rules() { |
al@20576 | 18 export LDFLAGS="$LDFLAGS -lm" |
al@20576 | 19 |
gokhlayeh@8868 | 20 # Fix from gentoo |
gokhlayeh@8868 | 21 # http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-libs/gtkdatabox/gtkdatabox-0.9.1.1.ebuild?view=markup |
gokhlayeh@8868 | 22 # Remove -D.*DISABLE_DEPRECATED cflags |
gokhlayeh@8868 | 23 find . -iname 'Makefile.am' -exec \ |
gokhlayeh@8868 | 24 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + && \ |
gokhlayeh@8868 | 25 # Do Makefile.in after Makefile.am to avoid automake maintainer-mode |
gokhlayeh@8868 | 26 find . -iname 'Makefile.in' -exec \ |
gokhlayeh@8868 | 27 sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i {} + && \ |
gokhlayeh@8868 | 28 |
al@20575 | 29 ./configure $CONFIGURE_ARGS && |
al@20575 | 30 fix libtool && |
al@20575 | 31 make && |
al@20575 | 32 make install |
pankso@3841 | 33 } |
pankso@3841 | 34 |
al@20456 | 35 genpkg_rules() { |
al@20456 | 36 case $PACKAGE in |
al@20456 | 37 gtkdatabox) |
al@20456 | 38 copy @std |
al@20456 | 39 DEPENDS="gtk+" |
al@20456 | 40 ;; |
al@20456 | 41 *-dev) |
al@20456 | 42 copy @dev |
al@20456 | 43 ;; |
al@20456 | 44 esac |
pankso@3841 | 45 } |