wok-6.x view libmatemixer/receipt @ rev 24299
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 15 15:21:40 2022 +0000 (2022-01-15) |
parents | e863f2041090 |
children | 73f36875e5a7 |
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="http://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 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 --disable-static \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib $fs/usr/share
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/share $fs/usr
42 }