wok-current diff sndfile-tools/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/sndfile-tools/receipt Thu Mar 14 20:28:39 2024 +0000 1.3 @@ -0,0 +1,44 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="sndfile-tools" 1.7 +VERSION="1.5" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="Sample Rate Converter for audio binary." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="http://www.mega-nerd.com/SRC/" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="https://github.com/libsndfile/sndfile-tools/archive/refs/tags/$VERSION.tar.gz" 1.16 + 1.17 +DEPENDS="" 1.18 +BUILD_DEPENDS="automake libtool libsndfile-dev libsamplerate-dev \ 1.19 +fftw-dev cairo-dev" 1.20 + 1.21 +HOST_ARCH="i486 arm" 1.22 + 1.23 +# What is the latest version available today? 1.24 +current_version() 1.25 +{ 1.26 + wget -O - http://www.mega-nerd.com/SRC/download.html 2>/dev/null | \ 1.27 + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 1.28 +} 1.29 + 1.30 +# Rules to configure and make the package. 1.31 +compile_rules() 1.32 +{ 1.33 + ./autogen.sh 1.34 + ./configure \ 1.35 + --prefix=/usr \ 1.36 + --mandir=/usr/share/man \ 1.37 + $CONFIGURE_ARGS && 1.38 + make -j 1 && 1.39 + make DESTDIR=$DESTDIR install 1.40 +} 1.41 + 1.42 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.43 +genpkg_rules() 1.44 +{ 1.45 + mkdir -p $fs/usr 1.46 + cp -a $install/usr/bin $fs/usr 1.47 +}