wok-current view lincity-ng/receipt @ rev 24966
updated nettle and nettle-dev (3.5.1 -> 3.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 25 07:28:45 2022 +0100 (2022-04-25) |
parents | ac8ca9758df1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lincity-ng"
4 VERSION="2.9-beta"
5 CATEGORY="games"
6 SHORT_DESC="A City Simulation Game. It is a polished and improved version of the classic LinCity game."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/lincity-ng/lincity-ng/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}archive/$TARBALL"
14 DEPENDS="libsdl-gfx libsdl-image libsdl-mixer libsdl-ttf
15 libxcb libxml2 mesa physfs"
16 BUILD_DEPENDS="autoconf automake ftjam libsdl-gfx-dev libsdl-image-dev
17 libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev libxml2-dev
18 mesa-dev physfs-dev pkg-config"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/lincity-ng-\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./autogen.sh &&
31 ./configure \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 jam &&
37 jam -sprefix=/usr install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share/applications $fs/usr/share
47 cp -a $install/usr/share/lincity-ng $fs/usr/share
48 cp -a $install/usr/share/pixmaps $fs/usr/share
49 }