# HG changeset patch # User Hans-G?nter Theisgen # Date 1584191660 -3600 # Node ID 9d5a48cd7bf50798018ff3e821a923edcd6e3c9c # Parent b9b7076210016ec582e006ed0145e4787d5e1f01 updated lincity-ng (2.0 -> 2.9) diff -r b9b707621001 -r 9d5a48cd7bf5 lincity-ng/receipt --- a/lincity-ng/receipt Sat Mar 14 13:44:55 2020 +0100 +++ b/lincity-ng/receipt Sat Mar 14 14:14:20 2020 +0100 @@ -1,39 +1,43 @@ # SliTaz package receipt. PACKAGE="lincity-ng" -VERSION="2.0" +VERSION="2.9" CATEGORY="games" SHORT_DESC="A City Simulation Game. It is a polished and improved version of the classic LinCity game." MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="https://sourceforge.net/projects/lincity-ng.berlios/" -WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" +WEB_SITE="https://github.com/lincity-ng/lincity-ng/" -DEPENDS="mesa libxml2 physfs libsdl-gfx libsdl-image libsdl-mixer libsdl-ttf \ -libxcb" -BUILD_DEPENDS="mesa-dev libxml2-dev libsdl-gfx-dev libsdl-image-dev \ -libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev ftjam pkg-config physfs-dev" +TARBALL="$PACKAGE-$VERSION-beta.tar.gz" +WGET_URL="${WEB_SITE}archive/$TARBALL" + +DEPENDS="libsdl-gfx libsdl-image libsdl-mixer libsdl-ttf + libxcb libxml2 mesa physfs" +BUILD_DEPENDS="autoconf automake ftjam libsdl-gfx-dev libsdl-image-dev + libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev libxml2-dev + mesa-dev physfs-dev pkg-config" # Rules to configure and make the package. compile_rules() { - cd $src - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ + ./autogen.sh && + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ $CONFIGURE_ARGS && - jam && jam -sprefix=/usr install + jam && + jam -sprefix=/usr install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share/applications $fs/usr/share - cp -a $install/usr/share/lincity-ng $fs/usr/share - cp -a $install/usr/share/pixmaps $fs/usr/share + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/applications $fs/usr/share + cp -a $install/usr/share/lincity-ng $fs/usr/share + cp -a $install/usr/share/pixmaps $fs/usr/share }