Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 $(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
  11. PKG_BUILDDEP:= python2-host alsa-lib libsndfile
  12. PKG_URL:= http://jackaudio.org
  13. PKG_SITES:= http://openadk.org/distfiles/
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,JACK2,jack2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= manual
  17. BUILD_STYLE:= manual
  18. INSTALL_STYLE:= manual
  19. do-configure:
  20. cd $(WRKBUILD) && ./waf configure --alsa --prefix=/usr
  21. do-build:
  22. cd $(WRKBUILD) && ./waf build
  23. do-install:
  24. cd $(WRKBUILD) && ./waf install --destdir=$(WRKINST)
  25. jack2-install:
  26. $(INSTALL_DIR) $(IDIR_JACK2)/usr/bin
  27. $(CP) $(WRKINST)/usr/bin/jack* \
  28. $(IDIR_JACK2)/usr/bin
  29. $(INSTALL_DIR) $(IDIR_JACK2)/usr/lib
  30. $(CP) $(WRKINST)/usr/lib/libjack{,server,net}.so* \
  31. $(IDIR_JACK2)/usr/lib
  32. include ${TOPDIR}/mk/pkg-bottom.mk