wok rev 23133

updated lincity-ng (2.0 -> 2.9)
author Hans-G?nter Theisgen
date Sat Mar 14 14:14:20 2020 +0100 (2020-03-14)
parents b9b707621001
children 81714c82f6be
files lincity-ng/receipt
line diff
     1.1 --- a/lincity-ng/receipt	Sat Mar 14 13:44:55 2020 +0100
     1.2 +++ b/lincity-ng/receipt	Sat Mar 14 14:14:20 2020 +0100
     1.3 @@ -1,39 +1,43 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lincity-ng"
     1.7 -VERSION="2.0"
     1.8 +VERSION="2.9"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="A City Simulation Game. It is a polished and improved version of the classic LinCity game."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12  LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 -WEB_SITE="https://sourceforge.net/projects/lincity-ng.berlios/"
    1.15 -WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
    1.16 +WEB_SITE="https://github.com/lincity-ng/lincity-ng/"
    1.17  
    1.18 -DEPENDS="mesa libxml2 physfs libsdl-gfx libsdl-image libsdl-mixer libsdl-ttf \
    1.19 -libxcb"
    1.20 -BUILD_DEPENDS="mesa-dev libxml2-dev libsdl-gfx-dev libsdl-image-dev \
    1.21 -libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev ftjam pkg-config physfs-dev"
    1.22 +TARBALL="$PACKAGE-$VERSION-beta.tar.gz"
    1.23 +WGET_URL="${WEB_SITE}archive/$TARBALL"
    1.24 +
    1.25 +DEPENDS="libsdl-gfx libsdl-image libsdl-mixer libsdl-ttf 
    1.26 +	libxcb libxml2 mesa physfs"
    1.27 +BUILD_DEPENDS="autoconf automake ftjam libsdl-gfx-dev libsdl-image-dev 
    1.28 +	libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev libxml2-dev 
    1.29 +	mesa-dev physfs-dev pkg-config"
    1.30  
    1.31  # Rules to configure and make the package.
    1.32  compile_rules()
    1.33  {
    1.34 -	cd $src
    1.35 -	./configure \
    1.36 -		--prefix=/usr \
    1.37 -		--infodir=/usr/share/info \
    1.38 -		--mandir=/usr/share/man \
    1.39 +	./autogen.sh &&
    1.40 +	./configure				\
    1.41 +		--prefix=/usr			\
    1.42 +		--infodir=/usr/share/info	\
    1.43 +		--mandir=/usr/share/man		\
    1.44  		$CONFIGURE_ARGS &&
    1.45 -	jam && jam -sprefix=/usr install
    1.46 +	jam &&
    1.47 +	jam -sprefix=/usr install
    1.48  }
    1.49  
    1.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.51  genpkg_rules()
    1.52  {
    1.53  	mkdir -p $fs/usr/share
    1.54 -	cp -a $install/usr/bin $fs/usr
    1.55 -	cp -a $install/usr/share/applications $fs/usr/share
    1.56 -	cp -a $install/usr/share/lincity-ng $fs/usr/share
    1.57 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.58 +
    1.59 +	cp -a $install/usr/bin			$fs/usr
    1.60 +	cp -a $install/usr/share/applications	$fs/usr/share
    1.61 +	cp -a $install/usr/share/lincity-ng	$fs/usr/share
    1.62 +	cp -a $install/usr/share/pixmaps	$fs/usr/share
    1.63  }
    1.64