wok view lincity-ng/receipt @ rev 23918

Add fawkes
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 19 11:31:32 2020 +0000 (2020-08-19)
parents eeba7ab1dffe
children 5ea0ce1cecc0
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 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./autogen.sh &&
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 jam &&
30 jam -sprefix=/usr install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/applications $fs/usr/share
40 cp -a $install/usr/share/lincity-ng $fs/usr/share
41 cp -a $install/usr/share/pixmaps $fs/usr/share
42 }