wok view gnuchess/receipt @ rev 24867

updated lvm2, lvm2-dev, libdevmapper and libdevmapper-dev (2.03.08 -> 2.03.15)
author Hans-G?nter Theisgen
date Wed Mar 30 17:27:13 2022 +0100 (2022-03-30)
parents 71360a13cd94
children d79ed38ace18
line source
1 # SliTaz package receipt.
3 PACKAGE="gnuchess"
4 VERSION="6.2.9"
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 SUGGESTED="gnuchess-lang"
16 DEPENDS="ncurses readline"
17 BUILD_DEPENDS="ncurses-dev readline-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 #find -name '*.c' | xargs sed -i 's/getline/get_line/g' src/common.h
30 #sed -i 's/input_thread/static_input_thread/' src/input.c
32 chmod a+x install-sh &&
34 ./configure \
35 --libexecdir=/usr/lib \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/usr $fs
45 rm -rf $fs/usr/share/man
47 # moved to package gnuchess-lang
48 rm -rf $fs/usr/share/locale
49 }