Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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:= multimedia
  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
  19. PKGSD_LIBESD:= Esound library
  20. ifeq ($(ADK_STATIC),y)
  21. PKG_OPTS+= libmix
  22. endif
  23. include ${TOPDIR}/mk/package.mk
  24. $(eval $(call PKG_template,ESOUND,esound,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  25. $(eval $(call PKG_template,LIBESD,libesd,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBESD},${PKGSC_LIBESD},${PKG_OPTS}))
  26. AUTOTOOL_STYLE:= autoreconf
  27. CONFIGURE_ARGS+= --disable-alsa \
  28. --disable-arts \
  29. --enable-oss
  30. esound-install:
  31. ${INSTALL_DIR} ${IDIR_ESOUND}/usr/bin
  32. ${INSTALL_BIN} ${WRKINST}/usr/bin/esd ${IDIR_ESOUND}/usr/bin/
  33. libesd-install:
  34. ${INSTALL_DIR} ${IDIR_LIBESD}/usr/lib
  35. $(CP) $(WRKINST)/usr/lib/libesd.so* $(IDIR_LIBESD)/usr/lib/
  36. include ${TOPDIR}/mk/pkg-bottom.mk