summaryrefslogtreecommitdiff
path: root/package/jack
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-05-03 08:49:31 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-05-03 08:49:45 +0200
commit64e26e3516b9b52e9507da9ffad5c5d44c476b4d (patch)
tree0e66fa88d619b5859173477c4f7094d2c314764b /package/jack
parent1e9ab9d54c9fdafd37cfcedd8f273b28cd3a6ae4 (diff)
add jack1 package mainly from oliver
Diffstat (limited to 'package/jack')
-rw-r--r--package/jack/Makefile38
-rw-r--r--package/jack/patches/patch-configure_ac24
2 files changed, 62 insertions, 0 deletions
diff --git a/package/jack/Makefile b/package/jack/Makefile
new file mode 100644
index 000000000..a47c286b7
--- /dev/null
+++ b/package/jack/Makefile
@@ -0,0 +1,38 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= jack
+PKG_VERSION:= 5013bed0b834d0af1ce36077e2b49ed95934fe99
+PKG_RELEASE:= 1
+PKG_DESCR:= audio connection kit (v1)
+PKG_SECTION:= mm/audio
+PKG_DEPENDS:= alsa-lib libsndfile libsamplerate libdb
+PKG_BUILDDEP:= db python2-host alsa-lib libsndfile libsamplerate
+PKG_NEEDS:= threads rt c++
+PKG_URL:= http://jackaudio.org
+PKG_SITES:= git://github.com/jackaudio/jack1.git
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,JACK,jack,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+XAKE_FLAGS+= GCC_HONOUR_COPTS=s
+AUTOTOOL_STYLE:= autogen
+
+post-extract:
+ (cd $(WRKBUILD); git submodule init)
+ (cd $(WRKBUILD); git submodule update)
+
+jack-install:
+ $(INSTALL_DIR) $(IDIR_JACK)/usr/lib/jack
+ $(INSTALL_DIR) $(IDIR_JACK)/usr/bin
+ $(CP) $(WRKINST)/usr/bin/jack* \
+ $(IDIR_JACK)/usr/bin
+ $(CP) $(WRKINST)/usr/lib/libjack*.so* \
+ $(IDIR_JACK)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/jack/*.so* \
+ $(IDIR_JACK)/usr/lib/jack
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/jack/patches/patch-configure_ac b/package/jack/patches/patch-configure_ac
new file mode 100644
index 000000000..7dc4823d8
--- /dev/null
+++ b/package/jack/patches/patch-configure_ac
@@ -0,0 +1,24 @@
+--- jack-5013bed0b834d0af1ce36077e2b49ed95934fe99.orig/configure.ac 2016-05-02 23:06:52.000000000 +0200
++++ jack-5013bed0b834d0af1ce36077e2b49ed95934fe99/configure.ac 2016-05-02 23:20:22.128238520 +0200
+@@ -190,21 +190,7 @@ esac
+
+ AC_SUBST(OS_LDFLAGS)
+
+-#
+-# We need to establish suitable defaults for a 64-bit OS
+ libnn=lib
+-case "${host_os}" in
+- linux*)
+- case "${host_cpu}" in
+- x86_64|mips64|ppc64|sparc64|s390x)
+- libnn=lib64
+- ;;
+- esac
+- ;;
+- solaris*)
+- ## libnn=lib/sparcv9 ## on 64-bit only, but that's compiler-specific
+- ;;
+-esac
+
+ ## take care not to override the command-line setting
+ if test "${libdir}" = '${exec_prefix}/lib'; then