wok-current view libmpdclient/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | 6e8b1bcb30e2 |
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.xz"
10 WEB_SITE="http://mpd.wikia.com/wiki/ClientLib:libmpdclient"
11 WGET_URL="https://www.musicpd.org/download/$PACKAGE/2/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --disable-documentation \
29 $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/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }