wok annotate lingot/receipt @ rev 25075

created recipe for alsa-ucm-conf
author Hans-G?nter Theisgen
date Tue Jun 14 07:07:03 2022 +0100 (2022-06-14)
parents 2a5cc8208d36
children
rev   line source
pankso@9326 1 # SliTaz package receipt.
pankso@9326 2
pankso@9326 3 PACKAGE="lingot"
pankso@9326 4 VERSION="0.8.1"
pankso@9326 5 CATEGORY="multimedia"
pankso@9326 6 SHORT_DESC="Musical instrument tuner"
pankso@9326 7 MAINTAINER="pankso@slitaz.org"
pascal@15379 8 LICENSE="GPL2"
pascal@15379 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15379 10 WEB_SITE="http://www.nongnu.org/lingot/"
pascal@15379 11 WGET_URL="http://download.savannah.gnu.org/releases/lingot/$TARBALL"
pascal@15379 12
pankso@9326 13 DEPENDS="gtk+ alsa-lib jack-audio-connection-kit libglade"
pankso@9326 14 BUILD_DEPENDS="gtk+-dev alsa-lib-dev jack-audio-connection-kit-dev \
pascal@9336 15 libglade-dev intltool"
pankso@9326 16
pascal@24415 17 # What is the latest version available today?
pascal@24415 18 current_version()
pascal@24415 19 {
pascal@24415 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24415 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 22 }
pascal@24415 23
pankso@9326 24 # Rules to configure and make the package.
pankso@9326 25 compile_rules()
pankso@9326 26 {
pankso@9326 27 cd $src
pankso@9326 28 ./configure \
gokhlayeh@11573 29 --disable-jack $CONFIGURE_ARGS &&
pankso@9326 30 make && make install
pankso@9326 31 }
pankso@9326 32
pankso@9326 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9326 34 genpkg_rules()
pankso@9326 35 {
pascal@11623 36 mkdir -p $fs/usr/share/applications
pascal@11623 37 cp -a $stuff/lingot.desktop $fs/usr/share/applications
pascal@15379 38 cp -a $install/usr/bin $fs/usr
pascal@15379 39 cp -a $install/usr/share/lingot $fs/usr/share
pankso@9326 40 }