wok-next annotate lincity-ng/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a3c581bf52b8
children 5669e8b3be70
rev   line source
slaxemulator@6567 1 # SliTaz package receipt.
slaxemulator@6567 2
slaxemulator@6567 3 PACKAGE="lincity-ng"
slaxemulator@6567 4 VERSION="2.0"
slaxemulator@6567 5 CATEGORY="games"
al@21020 6 SHORT_DESC="A City Simulation Game"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="https://sourceforge.net/projects/lincity-ng.berlios/"
al@21020 10
slaxemulator@6567 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20906 12 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" # FIXME
slaxemulator@6567 13
pascal@13796 14 BUILD_DEPENDS="mesa-dev libxml2-dev libsdl-gfx-dev libsdl-image-dev \
al@20513 15 libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev ftjam physfs-dev glu-dev"
pascal@13796 16
al@21020 17 compile_rules() {
slaxemulator@6567 18 ./configure \
slaxemulator@6567 19 --prefix=/usr \
slaxemulator@6567 20 --infodir=/usr/share/info \
slaxemulator@6567 21 --mandir=/usr/share/man \
slaxemulator@6567 22 $CONFIGURE_ARGS &&
al@21020 23 jam &&
al@21020 24 jam -sprefix=/usr install
slaxemulator@6567 25 }
slaxemulator@6567 26
al@21020 27 genpkg_rules() {
slaxemulator@6567 28 mkdir -p $fs/usr/share
pascal@13796 29 cp -a $install/usr/bin $fs/usr
pascal@13796 30 cp -a $install/usr/share/applications $fs/usr/share
pascal@13796 31 cp -a $install/usr/share/lincity-ng $fs/usr/share
pascal@13796 32 cp -a $install/usr/share/pixmaps $fs/usr/share
al@21020 33 DEPENDS="mesa libxml2 physfs libsdl-gfx libsdl-image libsdl-mixer \
al@21020 34 libsdl-ttf xorg-libxcb"
slaxemulator@6567 35 }