wok-current rev 24061

Add lz4ultra
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 12 09:05:17 2021 +0000 (2021-06-12)
parents f08fe4855be4
children 1a10044dd144
files ardour/receipt graphviz/receipt lz4ultra/receipt openobex/receipt sane-backends/receipt soundtouch/receipt tint2/receipt voxelands/receipt xcursor-comix/receipt xsane/receipt
line diff
     1.1 --- a/ardour/receipt	Thu Jun 10 07:14:38 2021 +0000
     1.2 +++ b/ardour/receipt	Sat Jun 12 09:05:17 2021 +0000
     1.3 @@ -7,8 +7,8 @@
     1.4  LICENSE="GPL2"
     1.5  SHORT_DESC="A multichannel hard disk recorder and digital audio workstation"
     1.6  WEB_SITE="http://ardour.org"
     1.7 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.8 -WGET_URL="ftp://ftp.archlinux.org/other/ardour/$TARBALL"
     1.9 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10 +WGET_URL="https://github.com/Ardour/ardour/archive/refs/tags/$VERSION.tar.gz"
    1.11  TAGS="audio recorder mixer"
    1.12  
    1.13  DEPENDS="liblrdf ladspa liblo libgnomecanvas libusb-compat aubio libsndfile \
    1.14 @@ -20,6 +20,12 @@
    1.15  libgnomecanvasmm-dev libgnomecanvas-dev pkg-config liblrdf-dev gtkmm-dev \
    1.16  libboost-system-dev"
    1.17  
    1.18 +current_version()
    1.19 +{
    1.20 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.21 +	sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
    1.22 +}
    1.23 +
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
     2.1 --- a/graphviz/receipt	Thu Jun 10 07:14:38 2021 +0000
     2.2 +++ b/graphviz/receipt	Sat Jun 12 09:05:17 2021 +0000
     2.3 @@ -19,6 +19,12 @@
     2.4  	python-dev ruby-dev swig tcl-dev tk-dev util-linux-uuid-dev 
     2.5  	xorg-dev zlib-dev automake sed"
     2.6  
     2.7 +current_version()
     2.8 +{
     2.9 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    2.10 +	sed '/tar.gz/!d;s|.*/graphviz-\(.*\).tar.gz".*|\1|;q'
    2.11 +}
    2.12 +
    2.13  # Rules to configure and make the package.
    2.14  compile_rules()
    2.15  {
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/lz4ultra/receipt	Sat Jun 12 09:05:17 2021 +0000
     3.3 @@ -0,0 +1,33 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="lz4ultra"
     3.7 +VERSION="1.3.0"
     3.8 +CATEGORY="base-system"
     3.9 +SHORT_DESC="Optimal LZ4 packer with faster decompression."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="zlib/libpng cc"
    3.12 +WEB_SITE="https://github.com/emmanuel-marty/lz4ultra"
    3.13 +TARBALL="$PACKAGE-r$VERSION.tar.gz"
    3.14 +WGET_URL="https://github.com/emmanuel-marty/lz4ultra/archive/$VERSION.tar.gz"
    3.15 +TAGS="compression"
    3.16 +
    3.17 +current_version()
    3.18 +{
    3.19 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    3.20 +	sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
    3.21 +}
    3.22 +
    3.23 +# Rules to configure and make the package.
    3.24 +compile_rules()
    3.25 +{
    3.26 +	sed 's|^CC=clang|CC=gcc|;s|^CFLAGS=|&-std=gnu99 |' -i Makefile &&
    3.27 +	make
    3.28 +}
    3.29 +
    3.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.31 +genpkg_rules()
    3.32 +{
    3.33 +	mkdir -p $fs/usr/bin $install/usr/share/doc
    3.34 +	cp -a $src/lz4ultra $fs/usr/bin
    3.35 +	cp -a $src/README.md $install/usr/share/doc
    3.36 +}
     4.1 --- a/openobex/receipt	Thu Jun 10 07:14:38 2021 +0000
     4.2 +++ b/openobex/receipt	Sat Jun 12 09:05:17 2021 +0000
     4.3 @@ -15,6 +15,12 @@
     4.4  DEPENDS="bluez libusb"
     4.5  BUILD_DEPENDS="bluez-dev cmake libusb-dev"
     4.6  
     4.7 +current_version()
     4.8 +{
     4.9 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    4.10 +	sed '/tar.gz/!d;s|.*/mainline-\(.*\).tar.gz".*|\1|;q'
    4.11 +}
    4.12 +
    4.13  # Rules to configure and make the package.
    4.14  compile_rules()
    4.15  {
     5.1 --- a/sane-backends/receipt	Thu Jun 10 07:14:38 2021 +0000
     5.2 +++ b/sane-backends/receipt	Sat Jun 12 09:05:17 2021 +0000
     5.3 @@ -16,6 +16,12 @@
     5.4  	libv4l-dev tiff-dev zlib-dev"
     5.5  SUGGESTED="gocr imagemagick sane-backends-lang tesseract-ocr"
     5.6  
     5.7 +current_version()
     5.8 +{
     5.9 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    5.10 +	sed '/tar.gz/!d;s|.*/backends-\(.*\).tar.gz".*|\1|;q'
    5.11 +}
    5.12 +
    5.13  # Rules to configure and make the package.
    5.14  compile_rules()
    5.15  {
     6.1 --- a/soundtouch/receipt	Thu Jun 10 07:14:38 2021 +0000
     6.2 +++ b/soundtouch/receipt	Sat Jun 12 09:05:17 2021 +0000
     6.3 @@ -14,6 +14,12 @@
     6.4  DEPENDS="gcc-lib-base"
     6.5  BUILD_DEPENDS="automake libtool"
     6.6  
     6.7 +current_version()
     6.8 +{
     6.9 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    6.10 +	sed '/tar.gz/!d;s|.*/soundtouch-\(.*\).tar.gz".*|\1|;q'
    6.11 +}
    6.12 +
    6.13  # Rules to configure and make the package.
    6.14  compile_rules()
    6.15  {
     7.1 --- a/tint2/receipt	Thu Jun 10 07:14:38 2021 +0000
     7.2 +++ b/tint2/receipt	Sat Jun 12 09:05:17 2021 +0000
     7.3 @@ -18,6 +18,12 @@
     7.4  BUILD_DEPENDS="cmake pango-dev imlib2-dev gtk+-dev startup-notification-dev \
     7.5  librsvg-dev"
     7.6  
     7.7 +current_version()
     7.8 +{
     7.9 +	wget -O - ${WGET_URL%/repo*}/-/tags 2>/dev/null | \
    7.10 +	sed '/tar.gz/!d;s|.*/tint2-v-\(.*\).tar.gz".*|\1|;q'
    7.11 +}
    7.12 +
    7.13  # Rules to configure and make the package.
    7.14  compile_rules()
    7.15  {
     8.1 --- a/voxelands/receipt	Thu Jun 10 07:14:38 2021 +0000
     8.2 +++ b/voxelands/receipt	Sat Jun 12 09:05:17 2021 +0000
     8.3 @@ -18,6 +18,12 @@
     8.4  	libvorbis-dev luajit-dev mesa-dev openal-dev sqlite-dev \
     8.5  	xorg-libXxf86vm-dev cmake"
     8.6  
     8.7 +current_version()
     8.8 +{
     8.9 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    8.10 +	sed '/tar.gz/!d;s|.*/voxelands-\(.*\).tar.gz".*|\1|;q'
    8.11 +}
    8.12 +
    8.13  # Rules to configure and make the package.
    8.14  compile_rules()
    8.15  {
     9.1 --- a/xcursor-comix/receipt	Thu Jun 10 07:14:38 2021 +0000
     9.2 +++ b/xcursor-comix/receipt	Sat Jun 12 09:05:17 2021 +0000
     9.3 @@ -15,6 +15,12 @@
     9.4  DEPENDS="xorg-libXcursor"
     9.5  BUILD_DEPENDS=""
     9.6  
     9.7 +current_version()
     9.8 +{
     9.9 +	wget -O - ${WGET_URL%/*} | \
    9.10 +	sed '/tar.bz2/!d;s|.*"ComixCursors-Opaque-\([0-9].*\).tar.bz2".*|\1|;q'
    9.11 +}
    9.12 +
    9.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    9.14  genpkg_rules()
    9.15  {
    10.1 --- a/xsane/receipt	Thu Jun 10 07:14:38 2021 +0000
    10.2 +++ b/xsane/receipt	Sat Jun 12 09:05:17 2021 +0000
    10.3 @@ -13,6 +13,12 @@
    10.4  DEPENDS="sane-backends gtk+ tiff xorg-libXdamage lcms libv4l libltdl"
    10.5  BUILD_DEPENDS="gtk+-dev sane-backends-dev lcms-dev "
    10.6  
    10.7 +current_version()
    10.8 +{
    10.9 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
   10.10 +	sed '/tar.gz/!d;s|.*/xsane-\(.*\).tar.gz".*|\1|;q'
   10.11 +}
   10.12 +
   10.13  # Rules to configure and make the package.
   10.14  compile_rules()
   10.15  {