wok annotate gtkperf/receipt @ rev 15146
cocoalib: create Makefile_dependencies (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 12:56:59 2013 +0000 (2013-08-15) |
parents | 4e196db993fd |
children | e10edbeeabb4 |
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 |
slaxemulator@11111 | 18 ./configure $CONFIGURE_ARGS && |
devl547@5222 | 19 make && |
slaxemulator@9034 | 20 make DESTDIR=$DESTDIR install |
devl547@5222 | 21 } |
devl547@5222 | 22 |
devl547@5222 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5222 | 24 genpkg_rules() |
devl547@5222 | 25 { |
slaxemulator@9034 | 26 mkdir -p $fs/usr |
pascal@9026 | 27 cp -a $_pkg/usr/bin $fs/usr |
pascal@9026 | 28 cp -a $_pkg/usr/share $fs/usr |
devl547@5222 | 29 } |