wok-6.x view gnuchess/receipt @ rev 24593
updated geos and geos-dev (3.8.0 -> 3.10.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 13:55:15 2022 +0100 (2022-03-01) |
parents | 105a5deb6ca5 |
children | f134e45c99c5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnuchess"
4 VERSION="6.2.5"
5 CATEGORY="games"
6 TAGS="chess"
7 SHORT_DESC="GNU Chess lets most modern computers play a full game of chess."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://www.gnu.org/software/chess/chess.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/chess/$TARBALL"
15 DEPENDS="ncurses readline"
16 BUILD_DEPENDS="ncurses-dev readline-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 #find -name '*.c' | xargs sed -i 's/getline/get_line/g' src/common.h
29 #sed -i 's/input_thread/static_input_thread/' src/input.c
31 ./configure \
32 --libexecdir=/usr/lib \
33 $CONFIGURE_ARGS &&
34 make -j1 &&
35 make -j1 install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/usr $fs
42 }