summaryrefslogtreecommitdiff
path: root/package/jack/Makefile
blob: eba11276a56a9f6a71ee02c683ea7903c2a48dc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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:=		2
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 c++
PKG_URL:=		http://jackaudio.org
PKG_SITES:=		https://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