# SliTaz package receipt. PACKAGE="wavpack" VERSION="5.5.0" CATEGORY="multimedia" SHORT_DESC="Auto compression format with lossless, lossy, and hybrid compression modes." MAINTAINER="slaxemulator@gmail.com" LICENSE="BSD" WEB_SITE="https://www.wavpack.com/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/dbry/WavPack/archive/$VERSION.tar.gz" DEPENDS="glibc-base" BUILD_DEPENDS="autoconf automake libtool" # What is the latest version available today? current_version() { wget -O - https://github.com/dbry/WavPack/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./autogen.sh \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --enable-static \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders bin cook_copy_files *.so* }