wok annotate gtkperf/receipt @ rev 9026
gtkperf: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 22:08:34 2011 +0100 (2011-03-03) |
parents | 03933a919f81 |
children | 4e196db993fd |
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" |
devl547@5222 | 8 TARBALL="gtkperf_0.40.tar.gz" |
devl547@5222 | 9 WEB_SITE="http://gtkperf.sourceforge.net/" |
devl547@5222 | 10 WGET_URL="http://downloads.sourceforge.net/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" |
devl547@5222 | 11 BUILD_DEPENDS="gtk+-dev gettext" |
devl547@5222 | 12 DEPENDS="gtk+" |
devl547@5222 | 13 |
devl547@5222 | 14 # Rules to configure and make the package. |
devl547@5222 | 15 compile_rules() |
devl547@5222 | 16 { |
slaxemulator@8476 | 17 cd $src |
devl547@5222 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
devl547@5222 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
devl547@5222 | 20 make && |
pascal@9026 | 21 make install |
devl547@5222 | 22 } |
devl547@5222 | 23 |
devl547@5222 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5222 | 25 genpkg_rules() |
devl547@5222 | 26 { |
devl547@5222 | 27 mkdir -p $fs/usr/ |
pascal@9026 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@9026 | 29 cp -a $_pkg/usr/share $fs/usr |
devl547@5222 | 30 } |