1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
7 PKG_VERSION
:= 7bdad4966b29f721c384bdfe6921a1e5c1d84561
10 PKG_DESCR
:= audio connection kit
(v2
)
11 PKG_SECTION
:= mm
/audio
12 PKG_DEPENDS
:= alsa-lib libsndfile libsamplerate
13 PKG_BUILDDEP
:= python2-host alsa-lib libsndfile libsamplerate
14 PKG_NEEDS
:= threads c
++
15 PKG_URL
:= http
://jackaudio.org
16 PKG_SITES
:= https
://github.com
/jackaudio
/jack2.git
18 include $(ADK_TOPDIR
)/mk
/package.mk
20 $(eval
$(call PKG_template
,JACK2
,jack2
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 INSTALL_STYLE
:= manual
27 cd
$(WRKBUILD
) && PATH
='$(HOST_PATH)' .
/waf configure
--alsa
--prefix=/usr
30 cd
$(WRKBUILD
) && PATH
='$(HOST_PATH)' .
/waf build
33 cd
$(WRKBUILD
) && PATH
='$(HOST_PATH)' .
/waf
install --destdir
=$(WRKINST
)
36 $(INSTALL_DIR
) $(IDIR_JACK2
)/usr
/bin
37 $(CP
) $(WRKINST
)/usr
/bin
/jack
* \
39 $(INSTALL_DIR
) $(IDIR_JACK2
)/usr
/lib
/jack
40 $(CP
) $(WRKINST
)/usr
/lib
/libjack
{,server
,net
}.so
* \
42 $(CP
) $(WRKINST
)/usr
/lib
/jack
/*.so \
43 $(IDIR_JACK2
)/usr
/lib
/jack
44 $(CP
) .
/files
/jack.
pc.in
$(WRKINST
)/usr
/lib
/pkgconfig
/jack.
pc
45 $(SED
) "s#@INCLUDEDIR@#$(STAGING_TARGET_DIR)/usr/include#" \
46 -e
"s#@LIBDIR@#$(STAGING_TARGET_DIR)/usr/lib#" \
47 -e
"s#@PREFIX@#$(STAGING_TARGET_DIR)/usr#" \
48 $(WRKINST
)/usr
/lib
/pkgconfig
/jack.
pc
51 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk