wok-6.x annotate gnubg/receipt @ rev 23784
updated xvkbd (3.7 -> 4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 21 14:49:06 2020 +0100 (2020-05-21) |
parents | 25a4515a3878 |
children | 17091bc7c301 |
rev | line source |
---|---|
pascal@18909 | 1 # SliTaz package receipt. |
pascal@18909 | 2 |
pascal@18909 | 3 PACKAGE="gnubg" |
Hans-G?nter@22862 | 4 VERSION="1.06.002" |
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" |
Hans-G?nter@22862 | 9 WEB_SITE="https://www.gnu.org/software/gnubg/" |
pascal@18909 | 10 |
Hans-G?nter@22862 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22862 | 12 WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$PACKAGE-release-$VERSION-sources.tar.gz" |
Hans-G?nter@22862 | 13 |
Hans-G?nter@22862 | 14 DEPENDS="gmp gtk+ libcanberra libltdl libvorbis ncurses python" |
Hans-G?nter@22862 | 15 BUILD_DEPENDS="autoconf automake bison cairo-dev flex freetype-dev |
Hans-G?nter@22862 | 16 glib-dev gmp-dev gtk+-dev gtkglext-dev libcanberra-dev libpng-dev |
Hans-G?nter@22862 | 17 libtool pkg-config python-dev readline-dev sqlite-dev" |
pascal@18909 | 18 |
pascal@18909 | 19 # Rules to configure and make the package. |
pascal@18909 | 20 compile_rules() |
pascal@18909 | 21 { |
pascal@19755 | 22 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@22862 | 23 |
Hans-G?nter@22862 | 24 ./configure \ |
Hans-G?nter@22862 | 25 --prefix=/usr \ |
Hans-G?nter@22862 | 26 --sysconfdir=/etc \ |
Hans-G?nter@22862 | 27 --mandir=/usr/share/man \ |
Hans-G?nter@22862 | 28 --disable-cputest \ |
pascal@18909 | 29 $CONFIGURE_ARGS && |
pascal@18909 | 30 make && |
pascal@18909 | 31 make DESTDIR=$DESTDIR install |
pascal@18909 | 32 } |
pascal@18909 | 33 |
pascal@18909 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18909 | 35 genpkg_rules() |
pascal@18909 | 36 { |
pascal@18909 | 37 mkdir -p $fs/usr/share/applications |
Hans-G?nter@22862 | 38 |
Hans-G?nter@22862 | 39 cp -a $install/* $fs |
Hans-G?nter@22862 | 40 cp -a $stuff/gnubg.desktop $fs/usr/share/applications |
pascal@18909 | 41 } |