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