# HG changeset patch # User Pascal Bellard # Date 1424773351 -3600 # Node ID a371ce86818b7b493ba3f84b0796285d830653d8 # Parent acbbbf3f4e52a2039aceea35b05c160306bde36b Add minetest diff -r acbbbf3f4e52 -r a371ce86818b irrlicht-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/irrlicht-dev/receipt Tue Feb 24 11:22:31 2015 +0100 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="irrlicht-dev" +VERSION="1.8.1" +CATEGORY="development" +SHORT_DESC="high performance realtime 3D engine written in C++" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="zlib/libpng" +WEB_SITE="http://irrlicht.sourceforge.net/" +WANTED="irrlicht" + +DEPENDS="irrlicht" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/include $fs/usr +} diff -r acbbbf3f4e52 -r a371ce86818b irrlicht/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/irrlicht/receipt Tue Feb 24 11:22:31 2015 +0100 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="irrlicht" +VERSION="1.8.1" +CATEGORY="development" +SHORT_DESC="high performance realtime 3D engine written in C++" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="zlib/libpng" +TARBALL="$PACKAGE-$VERSION.zip" +WEB_SITE="http://irrlicht.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +DEPENDS="mesa gcc-lib-base libxcb xorg-libXfixes" +BUILD_DEPENDS="xorg-dev mesa-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src/source/Irrlicht + sed -i "s|^INSTALL_DIR.*|INSTALL_DIR = $DESTDIR/usr/lib|" Makefile + make sharedlib && + make && + make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/lib $fs/usr +} diff -r acbbbf3f4e52 -r a371ce86818b minetest/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/minetest/receipt Tue Feb 24 11:22:31 2015 +0100 @@ -0,0 +1,38 @@ +# SliTaz package receipt. + +PACKAGE="minetest" +VERSION="0.4.12" +CATEGORY="games" +SHORT_DESC="An InfiniMiner/Minecraft inspired game." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="MIT" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://minetest.net/" +WGET_URL="https://github.com/minetest/minetest/archive/$VERSION.tar.gz" +TARBALL2="minetest_game-$VERSION.tar.gz" +WGET_URL2="https://github.com/minetest/minetest_game/archive/$VERSION.tar.gz" + +DEPENDS="libssl libpng jpeg sqlite libvorbis openal libglu-mesa curl \ +mesa irrlicht" +BUILD_DEPENDS="wget cmake libpng-dev jpeg-dev sqlite-dev libogg-dev \ +libvorbis-dev openal-dev freetype-dev xorg-libXxf86vm-dev libglu-mesa-dev \ +curl-dev mesa-dev irrlicht-dev" + +# Rules to configure and make the package. +compile_rules() +{ + [ -s "$SOURCES_REPOSITORY/$TARBALL2" ] || wget --no-check-certificate \ + -O "$SOURCES_REPOSITORY/$TARBALL2" $WGET_URL2 + cd games/ + tar xf $SOURCES_REPOSITORY/$TARBALL2 + cd .. + cmake -DCMAKE_INSTALL_PREFIX=/usr . + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs/ +}