aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmpdclient/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-12-14 13:32:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-12-14 13:32:49 +0000
commitce09110732b963e07bb8edd1166ff946c333ebe3 (patch)
tree6d534388721017e1bdae3577585060068c69f061 /main/libmpdclient/APKBUILD
parent33025575161a5c11db0b4727890e13f29f0f7918 (diff)
downloadaports-ce09110732b963e07bb8edd1166ff946c333ebe3.tar.bz2
aports-ce09110732b963e07bb8edd1166ff946c333ebe3.tar.xz
main/libmpdclient: moved from testing
Diffstat (limited to 'main/libmpdclient/APKBUILD')
-rw-r--r--main/libmpdclient/APKBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/main/libmpdclient/APKBUILD b/main/libmpdclient/APKBUILD
new file mode 100644
index 0000000000..4b43958619
--- /dev/null
+++ b/main/libmpdclient/APKBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libmpdclient
+pkgver=2.1
+pkgrel=0
+pkgdesc="An asynchronous API library for interfacing MPD in the C, C++ & Objective C languages"
+url="http://mpd.wikia.com/wiki/Client:libmpdclient"
+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
+}
+md5sums="67efa0c3d107c090ef277dfb3442d1e3 libmpdclient-2.1.tar.bz2"