Makefile 1.3 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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= esound
  5. PKG_VERSION:= 0.2.41
  6. PKG_RELEASE:= 8
  7. PKG_MD5SUM:= 3d8973ed87053d7acc1f4d44af2c4688
  8. PKG_DESCR:= enlightened sound daemon
  9. PKG_SECTION:= mm/audio
  10. PKG_DEPENDS:= libaudiofile libesd
  11. PKG_BUILDDEP:= libaudiofile autotool
  12. PKG_URL:= http://www.tux.org/~ricdude/EsounD.html
  13. PKG_SITES:= ftp://ftp.gnome.org/pub/gnome/sources/esound/0.2/
  14. PKG_LIBNAME:= libesd
  15. PKG_OPTS:= dev
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  17. PKG_SUBPKGS:= ESOUND LIBESD
  18. PKGSC_LIBESD:= libs/audio
  19. PKGSD_LIBESD:= esound library
  20. include ${TOPDIR}/mk/package.mk
  21. $(eval $(call PKG_template,ESOUND,esound,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. $(eval $(call PKG_template,LIBESD,libesd,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBESD},${PKGSC_LIBESD},${PKG_OPTS}))
  23. AUTOTOOL_STYLE:= autoreconf
  24. CONFIGURE_ARGS+= --disable-alsa \
  25. --disable-arts \
  26. --enable-oss
  27. esound-install:
  28. ${INSTALL_DIR} ${IDIR_ESOUND}/usr/bin
  29. ${INSTALL_BIN} ${WRKINST}/usr/bin/esd ${IDIR_ESOUND}/usr/bin/
  30. libesd-install:
  31. ${INSTALL_DIR} ${IDIR_LIBESD}/usr/lib
  32. $(CP) $(WRKINST)/usr/lib/libesd.so* $(IDIR_LIBESD)/usr/lib/
  33. include ${TOPDIR}/mk/pkg-bottom.mk