summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libmpdclient/Makefile24
-rw-r--r--package/mpc/Makefile28
2 files changed, 52 insertions, 0 deletions
diff --git a/package/libmpdclient/Makefile b/package/libmpdclient/Makefile
new file mode 100644
index 000000000..83053c10f
--- /dev/null
+++ b/package/libmpdclient/Makefile
@@ -0,0 +1,24 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= libmpdclient
+PKG_VERSION:= 2.2
+PKG_RELEASE:= 1
+PKG_MD5SUM:= a157c1eb70502f1da8097477104e719e
+PKG_DESCR:= library for interfacing MPD
+PKG_SECTION:= libs
+PKG_URL:= http://mpd.wikia.com/wiki/ClientLib:libmpdclient
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=musicpd/}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBMPDCLIENT,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_LIBMPDCLIENT)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libmpdclient*.so* \
+ $(IDIR_LIBMPDCLIENT)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mpc/Makefile b/package/mpc/Makefile
new file mode 100644
index 000000000..14e153491
--- /dev/null
+++ b/package/mpc/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= mpc
+PKG_VERSION:= 0.19
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 08af459a18388c35dd81de8f9f1534c9
+PKG_DESCR:= music player client
+PKG_SECTION:= multimedia
+PKG_DEPENDS:= libmpdclient
+PKG_BUILDDEP+= libmpdclient
+PKG_URL:= http://mpd.wikia.com/wiki/Client:Mpc
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=musicpd/}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,MPC,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_ARGS+= --disable-iconv
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_MPC)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/mpc \
+ $(IDIR_MPC)/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk