wok-current annotate geeqie/receipt @ rev 9022
geeqie: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 21:37:04 2011 +0100 (2011-03-03) |
parents | f88ab74875ec |
children | c8af0d4f62e9 |
rev | line source |
---|---|
devl547@5249 | 1 # SliTaz package receipt. |
devl547@5249 | 2 |
devl547@5249 | 3 PACKAGE="geeqie" |
devl547@5249 | 4 VERSION="1.0" |
devl547@5693 | 5 CATEGORY="utilities" |
devl547@5693 | 6 SHORT_DESC="Application designed to test GTK+ performance." |
devl547@5249 | 7 MAINTAINER="devl547@gmail.com" |
devl547@5249 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
devl547@5249 | 9 WEB_SITE="http://geeqie.sourceforge.net/" |
devl547@5249 | 10 WGET_URL="http://downloads.sourceforge.net/project/$PACKAGE/$PACKAGE/$PACKAGE-$VERSION/$TARBALL" |
pascal@9022 | 11 BUILD_DEPENDS="gettext intltool" |
pascal@9022 | 12 DEPENDS="gtk+" |
devl547@5249 | 13 |
devl547@5249 | 14 # Rules to configure and make the package. |
devl547@5249 | 15 compile_rules() |
devl547@5249 | 16 { |
devl547@5249 | 17 cd $src |
devl547@5249 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
devl547@5249 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
devl547@5249 | 20 make && |
pascal@9022 | 21 make install |
devl547@5249 | 22 } |
devl547@5249 | 23 |
devl547@5249 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5249 | 25 genpkg_rules() |
devl547@5249 | 26 { |
devl547@5249 | 27 mkdir -p $fs/usr/ |
pascal@9022 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@9022 | 29 cp -a $_pkg/usr/lib $fs/usr |
pascal@9022 | 30 cp -a $_pkg/usr/share/ $fs/usr |
devl547@5249 | 31 } |