summaryrefslogtreecommitdiff
path: root/package/jack2/Makefile
blob: 162a1252af7aa70f1a9e147066535696e1a4801d (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
39
40
41
42
43
# 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:=		jack2
PKG_VERSION:=		1.9.10
PKG_RELEASE:=		1
PKG_HASH:=		9b3facf9c06dea74f388ce4e13427c3b630eedee7225b4a334c557697461d0f0
PKG_DESCR:=		audio connection kit
PKG_SECTION:=		mm/audio
PKG_DEPENDS:=		alsa-lib libsndfile libsamplerate
PKG_BUILDDEP:=		python2-host alsa-lib libsndfile
PKG_BUILDDEP+=		libsamplerate
PKG_URL:=		http://jackaudio.org
PKG_SITES:=		http://openadk.org/distfiles/

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,JACK2,jack2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=		manual
BUILD_STYLE:=		manual
INSTALL_STYLE:=		manual

do-configure:
	cd $(WRKBUILD) && ./waf configure --alsa --prefix=/usr

do-build:
	cd $(WRKBUILD) && ./waf build

do-install:
	cd $(WRKBUILD) && ./waf install --destdir=$(WRKINST)

jack2-install:
	$(INSTALL_DIR) $(IDIR_JACK2)/usr/bin
	$(CP) $(WRKINST)/usr/bin/jack* \
		$(IDIR_JACK2)/usr/bin
	$(INSTALL_DIR) $(IDIR_JACK2)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libjack{,server,net}.so* \
		$(IDIR_JACK2)/usr/lib

include ${ADK_TOPDIR}/mk/pkg-bottom.mk