wok annotate xwax/receipt @ rev 25067

updated alsa-plugins (1.1.5 -> 1.2.6)
author Hans-G?nter Theisgen
date Fri Jun 10 13:40:50 2022 +0100 (2022-06-10)
parents d7bacc22f5eb
children
rev   line source
llevrel@18878 1 # SliTaz package receipt.
llevrel@18878 2
llevrel@18878 3 PACKAGE="xwax"
Hans-G?nter@22317 4 VERSION="1.7"
llevrel@18878 5 CATEGORY="multimedia"
Hans-G?nter@22317 6 SHORT_DESC="An open-source Digital Vinyl System (DVS) for Linux."
llevrel@18878 7 MAINTAINER="Lucas Levrel <llev@slitaz.org>"
llevrel@18878 8 LICENSE="GPL2"
Hans-G?nter@22317 9 WEB_SITE="https://xwax.org/"
Hans-G?nter@22317 10
llevrel@18878 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22317 12 WGET_URL="${WEB_SITE}releases/$TARBALL"
llevrel@18878 13
Hans-G?nter@22317 14 DEPENDS="alsa-lib libsdl libsdl-ttf"
Hans-G?nter@22317 15 BUILD_DEPENDS="alsa-lib-dev libsdl-dev libsdl-ttf-dev"
llevrel@18878 16
pascal@24374 17 # What is the latest version available today?
pascal@24374 18 current_version()
pascal@24374 19 {
pascal@24374 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24374 21 sed '/version/!d;s|.*version ||;s|<.*||;q'
pascal@24374 22 }
pascal@24374 23
llevrel@18878 24 # Rules to configure and make the package.
llevrel@18878 25 compile_rules()
llevrel@18878 26 {
Hans-G?nter@22317 27 ./configure \
Hans-G?nter@22317 28 --enable-alsa \
Hans-G?nter@22317 29 --prefix /usr \
Hans-G?nter@22317 30 $CONFIGURE_ARGS &&
Hans-G?nter@22317 31 LDFLAGS=-Os make &&
Hans-G?nter@22317 32 make install
llevrel@18878 33 }
llevrel@18878 34
llevrel@18878 35 # Rules to gen a SliTaz package suitable for Tazpkg.
llevrel@18878 36 genpkg_rules()
llevrel@18878 37 {
llevrel@18878 38 cp -a $install/* $fs
llevrel@18878 39 }