wok view lincity-ng/receipt @ rev 24210

properly renamed perl-file-rsync to perl-file-rsyncp
author Hans-G?nter Theisgen
date Fri Dec 31 15:55:26 2021 +0100 (2021-12-31)
parents 9d5a48cd7bf5
children ac8ca9758df1
line source
1 # SliTaz package receipt.
3 PACKAGE="lincity-ng"
4 VERSION="2.9"
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-beta.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 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/lincity-ng-\(.*\)-beta.tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./autogen.sh &&
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 jam &&
36 jam -sprefix=/usr install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/share/applications $fs/usr/share
46 cp -a $install/usr/share/lincity-ng $fs/usr/share
47 cp -a $install/usr/share/pixmaps $fs/usr/share
48 }