aboutsummaryrefslogtreecommitdiff
path: root/libmpd/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'libmpd/Pkgfile')
-rw-r--r--libmpd/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/libmpd/Pkgfile b/libmpd/Pkgfile
new file mode 100644
index 0000000..009d2d9
--- /dev/null
+++ b/libmpd/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Callback based interface to MPD
+# URL: https://sarine.nl/libmpd
+# Maintainer: mac-a-r0ni, j at lngn dot net
+# Depends on: glib
+
+name=libmpd
+version=11.8.17
+release=2
+source=(http://download.sarine.nl/Programs/gmpc/${version%.*}/$name-$version.tar.gz
+ 0001-fix-return-value.patch
+ 0002-include-config.h.patch
+ 0003-fix-comparison.patch)
+
+build() {
+ cd $name-$version
+
+ patch -p1 -i $SRC/0001-fix-return-value.patch
+ patch -p1 -i $SRC/0002-include-config.h.patch
+ patch -p1 -i $SRC/0003-fix-comparison.patch
+
+ ./configure --prefix=/usr \
+ --disable-static \
+ --build=aarch64-unknown-linux-gnueabi
+
+ make
+ make DESTDIR=$PKG install
+}