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.

47 lines
1.0 KiB

  1. #
  2. # Copyright (C) 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:=opus-tools
  9. PKG_VERSION:=0.1.9
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://downloads.xiph.org/releases/opus/
  13. PKG_MD5SUM:=20682e4d8d1ae9ec5af3cf43e808b8cb
  14. PKG_LICENSE:=BSD-2-Clause
  15. PKG_LICENSE_FILE:=COPYING
  16. PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org>
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/opus-tools
  20. SECTION:=utils
  21. CATEGORY:=Utilities
  22. DEPENDS:=+libogg +libopus
  23. TITLE:=OPUS Codec tools
  24. URL:=http://opus-codec.org/
  25. endef
  26. define Package/opus-tools/description
  27. This package provides command-line utilities to encode, inspect, and decode
  28. .opus files.
  29. endef
  30. CONFIGURE_ARGS += \
  31. --without-flac \
  32. define Package/opus-tools/install
  33. $(INSTALL_DIR) $(1)/usr/bin
  34. $(CP) $(PKG_INSTALL_DIR)/usr/bin/opus{dec,enc,info} $(1)/usr/bin/
  35. endef
  36. $(eval $(call BuildPackage,opus-tools))