wok-next annotate lincity-ng/receipt @ rev 20906
Update homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 10 12:53:17 2018 +0300 (2018-08-10) |
parents | d43bf7aae921 |
children | d5aab818505e |
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" |
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" |
slaxemulator@6567 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20906 | 10 WEB_SITE="https://sourceforge.net/projects/lincity-ng.berlios/" |
al@20906 | 11 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" # FIXME |
slaxemulator@6567 | 12 |
pascal@13796 | 13 DEPENDS="mesa libxml2 physfs libsdl-gfx libsdl-image libsdl-mixer libsdl-ttf \ |
al@20447 | 14 xorg-libxcb" |
pascal@13796 | 15 BUILD_DEPENDS="mesa-dev libxml2-dev libsdl-gfx-dev libsdl-image-dev \ |
al@20513 | 16 libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev ftjam physfs-dev glu-dev" |
pascal@13796 | 17 |
slaxemulator@6567 | 18 # Rules to configure and make the package. |
slaxemulator@6567 | 19 compile_rules() |
slaxemulator@6567 | 20 { |
slaxemulator@6567 | 21 cd $src |
slaxemulator@6567 | 22 ./configure \ |
slaxemulator@6567 | 23 --prefix=/usr \ |
slaxemulator@6567 | 24 --infodir=/usr/share/info \ |
slaxemulator@6567 | 25 --mandir=/usr/share/man \ |
slaxemulator@6567 | 26 $CONFIGURE_ARGS && |
slaxemulator@8874 | 27 jam && jam -sprefix=/usr install |
slaxemulator@6567 | 28 } |
slaxemulator@6567 | 29 |
slaxemulator@6567 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6567 | 31 genpkg_rules() |
slaxemulator@6567 | 32 { |
slaxemulator@6567 | 33 mkdir -p $fs/usr/share |
pascal@13796 | 34 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 35 cp -a $install/usr/share/applications $fs/usr/share |
pascal@13796 | 36 cp -a $install/usr/share/lincity-ng $fs/usr/share |
pascal@13796 | 37 cp -a $install/usr/share/pixmaps $fs/usr/share |
slaxemulator@6567 | 38 } |
slaxemulator@6567 | 39 |