wok view libmpdclient/receipt @ rev 25726

renamed xfce4-ristretto to ristretto
author Hans-G?nter Theisgen
date Sat Aug 17 17:30:48 2024 +0100 (2 months ago)
parents 34e801e0eb52
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libmpdclient"
4 VERSION="2.10"
5 CATEGORY="system-tools"
6 SHORT_DESC="C & C++ API library for MPD."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://mpd.wikia.com/wiki/ClientLib:libmpdclient"
11 WGET_URL="https://github.com/MusicPlayerDaemon/libmpdclient/archive/refs/tags/v$VERSION.tar.gz"
12 HOST_ARCH="i486 arm"
14 DEPENDS=""
15 BUILD_DEPENDS="automake"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/tags 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 ./configure \
29 --disable-documentation \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }