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.

57 lines
1.5 KiB

  1. #
  2. # Copyright (C) 2006-2014 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:=libvorbisidec
  9. PKG_VERSION:=1.0.2+svn18153
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
  12. PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/libv/libvorbisidec/
  13. PKG_MD5SUM:=4190859414c5d6760e316b5cf00fe7c5
  14. PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
  15. PKG_LICENSE:=BSD-3-Clause
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_FIXUP:=autoreconf
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/libvorbisidec
  21. SECTION:=libs
  22. CATEGORY:=Libraries
  23. TITLE:=A fixed-point Ogg/Vorbis decoder library
  24. DEPENDS:= +libogg
  25. URL:=http://wiki.xiph.org/index.php/Tremor
  26. endef
  27. define Package/libvorbisidec/description
  28. libvorbisidec is "tremor", a fixed-point implementation of libvorbis.
  29. It also has libogg built-in. It is suitable as a replacement for
  30. libvorbis and libogg in tremor-aware applications.
  31. Tremor is a decoder only.
  32. endef
  33. TARGET_CFLAGS += $(FPIC)
  34. CONFIGURE_ARGS += --enable-shared --enable-static
  35. define Build/InstallDev
  36. $(INSTALL_DIR) $(1)/usr/include
  37. $(CP) $(PKG_INSTALL_DIR)/usr/include/tremor $(1)/usr/include/
  38. $(INSTALL_DIR) $(1)/usr/lib
  39. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libvorbisidec.{a,so*} $(1)/usr/lib/
  40. endef
  41. define Package/libvorbisidec/install
  42. $(INSTALL_DIR) $(1)/usr/lib
  43. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libvorbisidec.so.* $(1)/usr/lib/
  44. endef
  45. $(eval $(call BuildPackage,libvorbisidec))