aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmpdclient/APKBUILD
blob: c1bdaca3b25cfa5c82156fac84a2825f6b392d8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmpdclient
pkgver=2.4
pkgrel=1
pkgdesc="An asynchronous API library for interfacing MPD in the C, C++ & Objective C languages"
url="http://mpd.wikia.com/wiki/Client:libmpdclient"
arch="all"
license="GPL2"
depends=
makedepends=
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/musicpd/$pkgname-$pkgver.tar.bz2"

build() { 
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr || return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="8c166c5212dd95d538d3a35bb9ad4634  libmpdclient-2.4.tar.bz2"