wok-current annotate lincity-ng/receipt @ rev 24519

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