wok view libmatemixer/receipt @ rev 25770

dool,fake-hwclock,gtkam,xfce4-*-plugin,xlogo: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 06 11:29:23 2024 +0000 (2 months ago)
parents 73f36875e5a7
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libmatemixer"
4 VERSION="1.9.2"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="Mixer library for MATE Desktop."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.mate-desktop.org/"
11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
12 TAGS="MATE"
13 DEPENDS="alsa-lib pulseaudio"
14 BUILD_DEPENDS="wget alsa-lib-dev pulseaudio-dev gtk+-dev autoconf automake libtool itstool \
15 mate-common-dev gtk-doc util-linux-uuid-dev libjson-c-dev libsndfile-dev flac-dev \
16 libvorbis-dev dbus-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --disable-static \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib $fs/usr/share
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/share $fs/usr
43 }