wok annotate gtkperf/receipt @ rev 18018
Up: tazpanel (477), tazpkg (797).
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 02 18:09:05 2015 +0200 (2015-05-02) |
parents | d1c17bd2c2bc |
children | 762b649a4d73 |
rev | line source |
---|---|
devl547@5222 | 1 # SliTaz package receipt. |
devl547@5222 | 2 |
devl547@5222 | 3 PACKAGE="gtkperf" |
devl547@5222 | 4 VERSION="0.40" |
devl547@5222 | 5 CATEGORY="utilities" |
devl547@5222 | 6 SHORT_DESC="Application designed to test GTK+ performance." |
devl547@5222 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15589 | 8 LICENSE="GPL2" |
devl547@5222 | 9 TARBALL="gtkperf_0.40.tar.gz" |
devl547@5222 | 10 WEB_SITE="http://gtkperf.sourceforge.net/" |
devl547@5222 | 11 WGET_URL="http://downloads.sourceforge.net/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" |
pascal@15589 | 12 |
devl547@5222 | 13 DEPENDS="gtk+" |
pascal@15590 | 14 BUILD_DEPENDS="gtk+-dev gettext autoconf" |
devl547@5222 | 15 |
devl547@5222 | 16 # Rules to configure and make the package. |
devl547@5222 | 17 compile_rules() |
devl547@5222 | 18 { |
slaxemulator@8476 | 19 cd $src |
pascal@15159 | 20 ./configure $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath && |
devl547@5222 | 21 make && |
slaxemulator@9034 | 22 make DESTDIR=$DESTDIR install |
devl547@5222 | 23 } |
devl547@5222 | 24 |
devl547@5222 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5222 | 26 genpkg_rules() |
devl547@5222 | 27 { |
slaxemulator@9034 | 28 mkdir -p $fs/usr |
pascal@15589 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15589 | 30 cp -a $install/usr/share $fs/usr |
devl547@5222 | 31 } |