wok rev 21786

Add voxelands (thanks Rene Rivero)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 24 10:34:11 2019 +0200 (2019-07-24)
parents 37b2a1afa30e
children 3be8209f2bdf
files backintime/receipt kkedit/receipt rtorrent/receipt syslinux/receipt voxelands/receipt
line diff
     1.1 --- a/backintime/receipt	Sun Jul 21 11:32:27 2019 +0200
     1.2 +++ b/backintime/receipt	Wed Jul 24 10:34:11 2019 +0200
     1.3 @@ -6,7 +6,7 @@
     1.4  SHORT_DESC="A simple backup tool for linux."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 -WEB_SITE="http://backintime.le-web.org/"
     1.8 +WEB_SITE="https://github.com/bit-team/backintime"
     1.9  TARBALL="$PACKAGE-${VERSION}_src.tar.gz"
    1.10  WGET_URL="http://backintime.le-web.org/download/$PACKAGE/$TARBALL"
    1.11  TAGS="backup"
     2.1 --- a/kkedit/receipt	Sun Jul 21 11:32:27 2019 +0200
     2.2 +++ b/kkedit/receipt	Wed Jul 24 10:34:11 2019 +0200
     2.3 @@ -6,7 +6,7 @@
     2.4  SHORT_DESC="Source code text editor"
     2.5  MAINTAINER="al.bobylev@gmail.com"
     2.6  LICENSE="GPL3"
     2.7 -WEB_SITE="http://keithhedger.hostingsiteforfree.com/pages/kkedit/help.html"
     2.8 +WEB_SITE="https://sites.google.com/site/kkeditlinuxtexteditor/home"
     2.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.10  WGET_URL="http://khapplications.darktech.org/zips/kkedit/KKEdit-$VERSION.tar.gz"
    2.11  
     3.1 --- a/rtorrent/receipt	Sun Jul 21 11:32:27 2019 +0200
     3.2 +++ b/rtorrent/receipt	Wed Jul 24 10:34:11 2019 +0200
     3.3 @@ -7,7 +7,7 @@
     3.4  MAINTAINER="mimas@slitaz.org"
     3.5  LICENSE="GPL2"
     3.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     3.7 -WEB_SITE="https://github.com/rakshasa/rtorrent"
     3.8 +WEB_SITE="https://github.com/rakshasa/rtorrent/"
     3.9  WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    3.10  TAGS="torrent"
    3.11  
     4.1 --- a/syslinux/receipt	Sun Jul 21 11:32:27 2019 +0200
     4.2 +++ b/syslinux/receipt	Wed Jul 24 10:34:11 2019 +0200
     4.3 @@ -126,7 +126,7 @@
     4.4  EOT
     4.5  	sed -i 's/^LABEL us$/&\n	MENU DEFAULT/' $fs/boot/isolinux/i18n.cfg
     4.6  	chown root.root $src/kbd/*
     4.7 -	touch -r $src $src/kbd/*
     4.8 +	touch -t 197001010100.00 $src/kbd/*
     4.9  	for kbd in $(cd $src/kbd; ls | tee ../kbd.l); do
    4.10  		msg="Invalid file kbd/$kbd"
    4.11  		[ -s $src/kbd/$kbd ] && msg="Unused: file kbd/$kbd" &&
    4.12 @@ -134,9 +134,7 @@
    4.13  		sed -i "/^$kbd\$/d" $src/kbd.l
    4.14  		echo "$msg"
    4.15  	done
    4.16 -	( cd $src/kbd; cat ../kbd.l | cpio -o -H newc ) >$fs/boot/isolinux/kbd
    4.17 -	lzma e $fs/boot/isolinux/kbd $fs/boot/isolinux/kbd.lzma
    4.18 -	mv -f $fs/boot/isolinux/kbd.lzma $fs/boot/isolinux/kbd
    4.19 +	(cd $src/kbd;cpio -o -H newc<../kbd.l)|lzma e $fs/boot/isolinux/kbd -si
    4.20  	chown root.root $fs/boot/isolinux/*
    4.21  }
    4.22  
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/voxelands/receipt	Wed Jul 24 10:34:11 2019 +0200
     5.3 @@ -0,0 +1,48 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="voxelands"
     5.7 +VERSION="v1602.00"
     5.8 +CATEGORY="games"
     5.9 +SHORT_DESC="Voxelands sandbox construction game 3D based on Minetest"
    5.10 +MAINTAINER="arca1085@gmail.com <René Rivero>"
    5.11 +LICENSE="GPLv3"
    5.12 +WEB_SITE="https://gitlab.com/voxelands/voxelands"
    5.13 +
    5.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.15 +WGET_URL="https://gitlab.com/$PACKAGE/$PACKAGE/-/archive/$VERSION/$PACKAGE-$VERSION.tar.gz --no-check-certificate"
    5.16 +
    5.17 +DEPENDS="curl irrlicht jpeg libglu-mesa libpng libspatialindex libssl \
    5.18 +	libvorbis luajit mesa openal sqlite"
    5.19 +BUILD_DEPENDS="curl-dev freetype-dev gcc83 irrlicht-dev jpeg-dev \
    5.20 +	libglu-mesa-dev libogg-dev libpng-dev libspatialindex-dev \
    5.21 +	libvorbis-dev luajit-dev mesa-dev openal-dev sqlite-dev \
    5.22 +	xorg-libXxf86vm-dev"
    5.23 +
    5.24 +# Rules to configure and make the package.
    5.25 +compile_rules()
    5.26 +{
    5.27 +	# As gcc-4.6.3 is insufficient, the most recent version of gcc
    5.28 +	# available in the cooking repository is used
    5.29 +	export	CC=gcc-83
    5.30 +	export	CXX=g++-83
    5.31 +
    5.32 +	cmake					\
    5.33 +		-DCMAKE_INSTALL_PREFIX=/usr	\
    5.34 +		-DBUILD_SERVER=1		\
    5.35 +		-DBUILD_CLIENT=1		\
    5.36 +		-DENABLE_AUDIO=1		\
    5.37 +		-DENABLE_GETTEXT=1		\
    5.38 +
    5.39 +	make &&
    5.40 +	make install
    5.41 +}
    5.42 +
    5.43 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.44 +genpkg_rules()
    5.45 +{
    5.46 +	mkdir -p ${fs}/usr/bin
    5.47 +	mkdir -p ${fs}/usr/share
    5.48 +
    5.49 +	cp -a ${install}/usr/bin/*		${fs}/usr/bin
    5.50 +	cp -a ${install}/usr/share		$fs/usr
    5.51 +}