summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Seitter <js@stz-bt.de>2011-08-31 11:14:27 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-09-01 12:20:21 +0200
commit27a08f622ebf54da86add4b041097c6ba79e4180 (patch)
treea52ebb37f831ad6ca02ae09ec96e82be97a9319e
parent0d3d3eb227d0b0c26e40cbb08a8e57ef80e390c1 (diff)
added jack package
-rw-r--r--package/jack/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/package/jack/Makefile b/package/jack/Makefile
new file mode 100644
index 000000000..65776fd7f
--- /dev/null
+++ b/package/jack/Makefile
@@ -0,0 +1,45 @@
+# 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
+
+# always use tab spaces as separator, no spaces
+PKG_NAME:= jack
+PKG_VERSION:= 1.9.7
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 9759670feecbd43eeccf1c0f743ec199
+PKG_DESCR:= JACK Audio Connection Kit
+PKG_SECTION:= multimedia
+PKG_DEPENDS:= alsa-lib
+PKG_BUILDDEP:= python2 alsa-lib
+PKG_URL:= http://jackaudio.org
+PKG_SITES:= http://www.grame.fr/~letz/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,JACK,jack,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
+do-configure:
+ $(WRKSRC)/waf configure --alsa --prefix=$(WRKINST)/usr
+
+do-build:
+ cd $(WRKSRC) && $(WRKSRC)/waf build
+
+do-install:
+ cd $(WRKSRC) && $(WRKSRC)/waf install
+
+jack-install:
+ $(INSTALL_DIR) $(IDIR_JACK)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/jack* \
+ $(IDIR_JACK)/usr/bin
+ $(INSTALL_DIR) $(IDIR_JACK)/usr/lib
+ $(INSTALL_BIN) $(WRKINST)/usr/lib/lib* \
+ $(IDIR_JACK)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk