wok-current annotate gnubg/receipt @ rev 18909
Add gnubg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 22 21:29:18 2016 +0100 (2016-02-22) |
parents | |
children | ab1db1415dd8 |
rev | line source |
---|---|
pascal@18909 | 1 # SliTaz package receipt. |
pascal@18909 | 2 |
pascal@18909 | 3 PACKAGE="gnubg" |
pascal@18909 | 4 VERSION="1.05.000" |
pascal@18909 | 5 CATEGORY="games" |
pascal@18909 | 6 SHORT_DESC="GNU Backgammon game." |
pascal@18909 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18909 | 8 LICENSE="GPL" |
pascal@18909 | 9 TARBALL="$PACKAGE-release-$VERSION-sources.tar.gz" |
pascal@18909 | 10 WEB_SITE="http://www.gnubg.org/" |
pascal@18909 | 11 WGET_URL="http://files.gnubg.org/media/sources/$TARBALL" |
pascal@18909 | 12 |
pascal@18909 | 13 DEPENDS="gtk+ libcanberra ncurses python gmp libvorbis libltdl" |
pascal@18909 | 14 BUILD_DEPENDS="pkg-config autoconf automake bison flex libtool \ |
pascal@18909 | 15 glib-dev libpng-dev freetype-dev gtk+-dev cairo-dev libcanberra-dev \ |
pascal@18909 | 16 gtkglext-dev readline-dev python sqlite-dev gmp-dev" |
pascal@18909 | 17 |
pascal@18909 | 18 # Rules to configure and make the package. |
pascal@18909 | 19 compile_rules() |
pascal@18909 | 20 { |
pascal@18909 | 21 ./configure --prefix=/usr \ |
pascal@18909 | 22 --sysconfdir=/etc \ |
pascal@18909 | 23 --mandir=/usr/share/man \ |
pascal@18909 | 24 --disable-cputest \ |
pascal@18909 | 25 $CONFIGURE_ARGS && |
pascal@18909 | 26 make && |
pascal@18909 | 27 make DESTDIR=$DESTDIR install |
pascal@18909 | 28 } |
pascal@18909 | 29 |
pascal@18909 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18909 | 31 genpkg_rules() |
pascal@18909 | 32 { |
pascal@18909 | 33 mkdir -p $fs/usr/share/applications |
pascal@18909 | 34 cp -a $install/* $fs |
pascal@18909 | 35 cp -a $stuff/gnupg.desktop $fs/usr/share/applications |
pascal@18909 | 36 } |