Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= jack2
  5. PKG_VERSION:= 1.9.10
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 9ba759b640f9012d9a5e971a26675c6e
  8. PKG_DESCR:= audio connection kit
  9. PKG_SECTION:= mm/audio
  10. PKG_DEPENDS:= alsa-lib libsndfile libsamplerate
  11. PKG_BUILDDEP:= python2-host alsa-lib libsndfile
  12. PKG_BUILDDEP+= libsamplerate
  13. PKG_URL:= http://jackaudio.org
  14. PKG_SITES:= http://openadk.org/distfiles/
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,JACK2,jack2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. BUILD_STYLE:= manual
  19. INSTALL_STYLE:= manual
  20. do-configure:
  21. cd $(WRKBUILD) && ./waf configure --alsa --prefix=/usr
  22. do-build:
  23. cd $(WRKBUILD) && ./waf build
  24. do-install:
  25. cd $(WRKBUILD) && ./waf install --destdir=$(WRKINST)
  26. jack2-install:
  27. $(INSTALL_DIR) $(IDIR_JACK2)/usr/bin
  28. $(CP) $(WRKINST)/usr/bin/jack* \
  29. $(IDIR_JACK2)/usr/bin
  30. $(INSTALL_DIR) $(IDIR_JACK2)/usr/lib
  31. $(CP) $(WRKINST)/usr/lib/libjack{,server,net}.so* \
  32. $(IDIR_JACK2)/usr/lib
  33. include ${ADK_TOPDIR}/mk/pkg-bottom.mk