1
0

Makefile 1.3 KB

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