Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132
  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:= mpg123
  5. PKG_VERSION:= 1.12.1
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= e7d810a75d22954169f1530a436aca4c
  8. PKG_DESCR:= mp3 console player
  9. PKG_SECTION:= multimedia
  10. PKG_DEPENDS:= libpthread alsa-lib libltdl
  11. PKG_BUILDDEP+= alsa-lib
  12. PKG_URL:= http://www.mpg123.de/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=mpg123/}
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,MPG123,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. post-install:
  18. $(INSTALL_DIR) $(IDIR_MPG123)/usr/bin $(IDIR_MPG123)/usr/lib
  19. $(INSTALL_DIR) $(IDIR_MPG123)/usr/lib/mpg123
  20. $(CP) $(WRKINST)/usr/lib/libmpg123.so* $(IDIR_MPG123)/usr/lib
  21. $(CP) $(WRKINST)/usr/lib/mpg123/*.la $(IDIR_MPG123)/usr/lib/mpg123
  22. $(CP) $(WRKINST)/usr/lib/mpg123/*.so $(IDIR_MPG123)/usr/lib/mpg123
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/mpg123 \
  24. $(IDIR_MPG123)/usr/bin
  25. include ${TOPDIR}/mk/pkg-bottom.mk