wok-6.x rev 17696

Add minetest
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 24 11:22:31 2015 +0100 (2015-02-24)
parents acbbbf3f4e52
children da0865241df4
files irrlicht-dev/receipt irrlicht/receipt minetest/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/irrlicht-dev/receipt	Tue Feb 24 11:22:31 2015 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="irrlicht-dev"
     1.7 +VERSION="1.8.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="high performance realtime 3D engine written in C++"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="zlib/libpng"
    1.12 +WEB_SITE="http://irrlicht.sourceforge.net/"
    1.13 +WANTED="irrlicht"
    1.14 +
    1.15 +DEPENDS="irrlicht"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr
    1.21 +	cp -a $install/usr/include $fs/usr
    1.22 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/irrlicht/receipt	Tue Feb 24 11:22:31 2015 +0100
     2.3 @@ -0,0 +1,31 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="irrlicht"
     2.7 +VERSION="1.8.1"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="high performance realtime 3D engine written in C++"
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="zlib/libpng"
    2.12 +TARBALL="$PACKAGE-$VERSION.zip"
    2.13 +WEB_SITE="http://irrlicht.sourceforge.net/"
    2.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.15 +
    2.16 +DEPENDS="mesa gcc-lib-base libxcb xorg-libXfixes"
    2.17 +BUILD_DEPENDS="xorg-dev mesa-dev"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	cd $src/source/Irrlicht
    2.23 +	sed -i "s|^INSTALL_DIR.*|INSTALL_DIR = $DESTDIR/usr/lib|" Makefile
    2.24 +	make sharedlib &&
    2.25 +	make &&
    2.26 +	make install
    2.27 +}
    2.28 +
    2.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.30 +genpkg_rules()
    2.31 +{
    2.32 +	mkdir -p $fs/usr
    2.33 +	cp -a $install/usr/lib $fs/usr
    2.34 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/minetest/receipt	Tue Feb 24 11:22:31 2015 +0100
     3.3 @@ -0,0 +1,38 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="minetest"
     3.7 +VERSION="0.4.12"
     3.8 +CATEGORY="games"
     3.9 +SHORT_DESC="An InfiniMiner/Minecraft inspired game."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="MIT"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.13 +WEB_SITE="http://minetest.net/"
    3.14 +WGET_URL="https://github.com/minetest/minetest/archive/$VERSION.tar.gz"
    3.15 +TARBALL2="minetest_game-$VERSION.tar.gz"
    3.16 +WGET_URL2="https://github.com/minetest/minetest_game/archive/$VERSION.tar.gz"
    3.17 +
    3.18 +DEPENDS="libssl libpng jpeg sqlite libvorbis openal libglu-mesa curl \
    3.19 +mesa irrlicht"
    3.20 +BUILD_DEPENDS="wget cmake libpng-dev jpeg-dev sqlite-dev libogg-dev \
    3.21 +libvorbis-dev openal-dev freetype-dev xorg-libXxf86vm-dev libglu-mesa-dev \
    3.22 +curl-dev mesa-dev irrlicht-dev"
    3.23 +
    3.24 +# Rules to configure and make the package.
    3.25 +compile_rules()
    3.26 +{
    3.27 +	[ -s "$SOURCES_REPOSITORY/$TARBALL2" ] || wget --no-check-certificate \
    3.28 +		-O "$SOURCES_REPOSITORY/$TARBALL2" $WGET_URL2
    3.29 +	cd games/
    3.30 +	tar xf $SOURCES_REPOSITORY/$TARBALL2
    3.31 +	cd ..
    3.32 +	cmake -DCMAKE_INSTALL_PREFIX=/usr . 
    3.33 +	make &&
    3.34 +	make DESTDIR=$DESTDIR install
    3.35 +}
    3.36 +
    3.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.38 +genpkg_rules()
    3.39 +{
    3.40 +	cp -a $install/* $fs/
    3.41 +}