2007-09-13 22:51:57 +10:00
|
|
|
# Description: Polished and improved version of the classic LinCity game.
|
2011-10-12 21:59:07 +11:00
|
|
|
# URL: http://www.libregamewiki.org/LinCity-NG
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2007-09-13 22:51:57 +10:00
|
|
|
# Packager: Mark Rosenstand, mark at borkware dot net
|
2014-04-28 01:35:12 +10:00
|
|
|
# Depends on: jam physfs sdl_gfx sdl_image sdl_mixer sdl_ttf glu
|
2006-10-29 18:16:17 +01:00
|
|
|
|
|
|
|
name=lincity-ng
|
2009-02-01 18:28:56 +11:00
|
|
|
version=2.0
|
2006-10-29 18:16:17 +01:00
|
|
|
release=1
|
2013-03-15 22:29:44 +11:00
|
|
|
source=(http://crux.ster.so/distfiles/$name/$name-$version.tar.bz2)
|
2006-10-29 18:16:17 +01:00
|
|
|
|
|
|
|
build() {
|
2009-02-01 18:28:56 +11:00
|
|
|
cd $name-$version
|
2011-10-12 21:59:07 +11:00
|
|
|
local JOBS="$(sed -e 's/.*\(\-j[ 0-9]\+\) \{0,1\}.*/\1/' <<< $MAKEFLAGS)"
|
2007-09-13 22:51:57 +10:00
|
|
|
|
2009-02-01 18:28:56 +11:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-nls
|
2007-09-13 22:51:57 +10:00
|
|
|
|
2009-02-01 18:28:56 +11:00
|
|
|
jam $JOBS
|
2006-10-29 18:16:17 +01:00
|
|
|
jam -sprefix=$PKG/usr install
|
2007-09-13 22:51:57 +10:00
|
|
|
|
|
|
|
rm -r \
|
|
|
|
$PKG/usr/share/doc \
|
2009-02-01 18:28:56 +11:00
|
|
|
$PKG/usr/share/lincity-ng/locale \
|
|
|
|
$PKG/usr/share/lincity-ng/help/{ca,cs,de,es,fr,gl,nl,pt_BR,ru,sv,tr}
|
2006-10-29 18:16:17 +01:00
|
|
|
}
|