# HG changeset patch # User Pascal Bellard # Date 1623488717 0 # Node ID dc0f7fd1ff7db4a110986b45c60eba1233c9a299 # Parent f08fe4855be46dafe54086b04b92c6ddd05d734d Add lz4ultra diff -r f08fe4855be4 -r dc0f7fd1ff7d ardour/receipt --- a/ardour/receipt Thu Jun 10 07:14:38 2021 +0000 +++ b/ardour/receipt Sat Jun 12 09:05:17 2021 +0000 @@ -7,8 +7,8 @@ LICENSE="GPL2" SHORT_DESC="A multichannel hard disk recorder and digital audio workstation" WEB_SITE="http://ardour.org" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WGET_URL="ftp://ftp.archlinux.org/other/ardour/$TARBALL" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/Ardour/ardour/archive/refs/tags/$VERSION.tar.gz" TAGS="audio recorder mixer" DEPENDS="liblrdf ladspa liblo libgnomecanvas libusb-compat aubio libsndfile \ @@ -20,6 +20,12 @@ libgnomecanvasmm-dev libgnomecanvas-dev pkg-config liblrdf-dev gtkmm-dev \ libboost-system-dev" +current_version() +{ + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f08fe4855be4 -r dc0f7fd1ff7d graphviz/receipt --- a/graphviz/receipt Thu Jun 10 07:14:38 2021 +0000 +++ b/graphviz/receipt Sat Jun 12 09:05:17 2021 +0000 @@ -19,6 +19,12 @@ python-dev ruby-dev swig tcl-dev tk-dev util-linux-uuid-dev xorg-dev zlib-dev automake sed" +current_version() +{ + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tar.gz/!d;s|.*/graphviz-\(.*\).tar.gz".*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f08fe4855be4 -r dc0f7fd1ff7d lz4ultra/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lz4ultra/receipt Sat Jun 12 09:05:17 2021 +0000 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="lz4ultra" +VERSION="1.3.0" +CATEGORY="base-system" +SHORT_DESC="Optimal LZ4 packer with faster decompression." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="zlib/libpng cc" +WEB_SITE="https://github.com/emmanuel-marty/lz4ultra" +TARBALL="$PACKAGE-r$VERSION.tar.gz" +WGET_URL="https://github.com/emmanuel-marty/lz4ultra/archive/$VERSION.tar.gz" +TAGS="compression" + +current_version() +{ + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' +} + +# Rules to configure and make the package. +compile_rules() +{ + sed 's|^CC=clang|CC=gcc|;s|^CFLAGS=|&-std=gnu99 |' -i Makefile && + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin $install/usr/share/doc + cp -a $src/lz4ultra $fs/usr/bin + cp -a $src/README.md $install/usr/share/doc +} diff -r f08fe4855be4 -r dc0f7fd1ff7d openobex/receipt --- a/openobex/receipt Thu Jun 10 07:14:38 2021 +0000 +++ b/openobex/receipt Sat Jun 12 09:05:17 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="bluez libusb" BUILD_DEPENDS="bluez-dev cmake libusb-dev" +current_version() +{ + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tar.gz/!d;s|.*/mainline-\(.*\).tar.gz".*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f08fe4855be4 -r dc0f7fd1ff7d sane-backends/receipt --- a/sane-backends/receipt Thu Jun 10 07:14:38 2021 +0000 +++ b/sane-backends/receipt Sat Jun 12 09:05:17 2021 +0000 @@ -16,6 +16,12 @@ libv4l-dev tiff-dev zlib-dev" SUGGESTED="gocr imagemagick sane-backends-lang tesseract-ocr" +current_version() +{ + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tar.gz/!d;s|.*/backends-\(.*\).tar.gz".*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f08fe4855be4 -r dc0f7fd1ff7d soundtouch/receipt --- a/soundtouch/receipt Thu Jun 10 07:14:38 2021 +0000 +++ b/soundtouch/receipt Sat Jun 12 09:05:17 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="gcc-lib-base" BUILD_DEPENDS="automake libtool" +current_version() +{ + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tar.gz/!d;s|.*/soundtouch-\(.*\).tar.gz".*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f08fe4855be4 -r dc0f7fd1ff7d tint2/receipt --- a/tint2/receipt Thu Jun 10 07:14:38 2021 +0000 +++ b/tint2/receipt Sat Jun 12 09:05:17 2021 +0000 @@ -18,6 +18,12 @@ BUILD_DEPENDS="cmake pango-dev imlib2-dev gtk+-dev startup-notification-dev \ librsvg-dev" +current_version() +{ + wget -O - ${WGET_URL%/repo*}/-/tags 2>/dev/null | \ + sed '/tar.gz/!d;s|.*/tint2-v-\(.*\).tar.gz".*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f08fe4855be4 -r dc0f7fd1ff7d voxelands/receipt --- a/voxelands/receipt Thu Jun 10 07:14:38 2021 +0000 +++ b/voxelands/receipt Sat Jun 12 09:05:17 2021 +0000 @@ -18,6 +18,12 @@ libvorbis-dev luajit-dev mesa-dev openal-dev sqlite-dev \ xorg-libXxf86vm-dev cmake" +current_version() +{ + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tar.gz/!d;s|.*/voxelands-\(.*\).tar.gz".*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f08fe4855be4 -r dc0f7fd1ff7d xcursor-comix/receipt --- a/xcursor-comix/receipt Thu Jun 10 07:14:38 2021 +0000 +++ b/xcursor-comix/receipt Sat Jun 12 09:05:17 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="xorg-libXcursor" BUILD_DEPENDS="" +current_version() +{ + wget -O - ${WGET_URL%/*} | \ + sed '/tar.bz2/!d;s|.*"ComixCursors-Opaque-\([0-9].*\).tar.bz2".*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r f08fe4855be4 -r dc0f7fd1ff7d xsane/receipt --- a/xsane/receipt Thu Jun 10 07:14:38 2021 +0000 +++ b/xsane/receipt Sat Jun 12 09:05:17 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="sane-backends gtk+ tiff xorg-libXdamage lcms libv4l libltdl" BUILD_DEPENDS="gtk+-dev sane-backends-dev lcms-dev " +current_version() +{ + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tar.gz/!d;s|.*/xsane-\(.*\).tar.gz".*|\1|;q' +} + # Rules to configure and make the package. compile_rules() {