wok-4.x annotate quarry/receipt @ rev 5425
git: needs gnu tar
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 04 21:04:56 2010 +0200 (2010-05-04) |
parents | fdc36afbf95f |
children |
rev | line source |
---|---|
pascal@4569 | 1 # SliTaz package receipt. |
pascal@4569 | 2 |
pascal@4569 | 3 PACKAGE="quarry" |
pascal@4569 | 4 VERSION="0.2.0" |
pascal@4569 | 5 CATEGORY="games" |
pascal@4569 | 6 SHORT_DESC="multi-purpose GUI for Go, Amazons and Reversi." |
pascal@4569 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4569 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4569 | 9 WEB_SITE="http://home.gna.org/quarry/" |
pascal@4569 | 10 WGET_URL="http://download.gna.org/$PACKAGE/$TARBALL" |
pascal@4569 | 11 DEPENDS="gtk+ librsvg libgsf xcb-util" |
pascal@4569 | 12 BUILD_DEPENDS="gtk+-dev librsvg-dev libgsf" |
pascal@4570 | 13 SUGGESTED="gnugo" |
pascal@4569 | 14 |
pascal@4569 | 15 # Rules to configure and make the package. |
pascal@4569 | 16 compile_rules() |
pascal@4569 | 17 { |
pascal@4569 | 18 cd $src |
pascal@4570 | 19 sed -i 's/mozilla/firefox/' src/gui-gtk/gtk-help.c |
pascal@4569 | 20 ./configure \ |
pascal@4569 | 21 --prefix=/usr \ |
pascal@4569 | 22 --libexecdir=/usr/lib \ |
pascal@4569 | 23 --infodir=/usr/share/info \ |
pascal@4569 | 24 --mandir=/usr/share/man \ |
pascal@4569 | 25 --enable-sgf-utils \ |
pascal@4569 | 26 $CONFIGURE_ARGS && |
pascal@4569 | 27 make && |
pascal@4569 | 28 make DESTDIR=$PWD/_pkg install |
pascal@4569 | 29 } |
pascal@4569 | 30 |
pascal@4569 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4569 | 32 genpkg_rules() |
pascal@4569 | 33 { |
pascal@4569 | 34 cp -a $_pkg/usr $fs |
pascal@4569 | 35 } |