You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
866 B

  1. #
  2. # Copyright (C) 2006 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=icecast-libvorbisidec
  9. PKG_VERSION:=1.2.0-dave
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=libvorbisidec-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://users.tpg.com.au/davico/openwrt/
  13. PKG_MD5SUM:=cb8e51aab92ef164f8e0e8853f7164fa
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/libvorbisidec-$(PKG_VERSION)
  15. PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
  16. PATCH_DIR=./patches-libvorbisidec
  17. include $(INCLUDE_DIR)/package.mk
  18. define Build/Configure
  19. $(call Build/Configure/Default, \
  20. --disable-shared \
  21. --enable-static \
  22. )
  23. endef
  24. define Build/Compile
  25. $(MAKE) -C $(PKG_BUILD_DIR) \
  26. DESTDIR="$(PKG_INSTALL_DIR)" \
  27. all install
  28. endef
  29. define Build/InstallDev
  30. true
  31. endef
  32. $(eval $(call Build/DefaultTargets))