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.

45 lines
1.0 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=opus-tools
  7. PKG_VERSION:=0.2
  8. PKG_RELEASE:=1
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  10. PKG_SOURCE_URL:=http://downloads.xiph.org/releases/opus/
  11. PKG_HASH:=b4e56cb00d3e509acfba9a9b627ffd8273b876b4e2408642259f6da28fa0ff86
  12. PKG_LICENSE:=BSD-2-Clause
  13. PKG_LICENSE_FILES:=COPYING
  14. PKG_MAINTAINER:=Eduardo Abinader <eduardoabinader@gmail.com>
  15. PKG_INSTALL:=1
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/opus-tools
  18. SECTION:=sound
  19. CATEGORY:=Sound
  20. DEPENDS:=+libogg +libopus +libopusfile +libopusenc
  21. TITLE:=OPUS Codec tools
  22. URL:=http://opus-codec.org/
  23. endef
  24. define Package/opus-tools/description
  25. This package provides command-line utilities to encode, inspect,
  26. and decode .opus files.
  27. endef
  28. CONFIGURE_ARGS += \
  29. --without-flac \
  30. define Package/opus-tools/install
  31. $(INSTALL_DIR) $(1)/usr/bin
  32. $(CP) $(PKG_INSTALL_DIR)/usr/bin/opus{dec,enc,info} $(1)/usr/bin/
  33. endef
  34. $(eval $(call BuildPackage,opus-tools))