diff options
| author | Nicolas Thill <nico@openwrt.org> | 2014-08-21 22:53:05 +0200 |
|---|---|---|
| committer | Nicolas Thill <nico@openwrt.org> | 2014-08-23 10:56:10 +0200 |
| commit | a7bfcdab7235e71da75c7316dbb771449db90c96 (patch) | |
| tree | 58ad765e573f95267d75f7b657903e7dabe35edc | |
| parent | 265f6bfb214016d7ab42a4faf6b1c504ad09ddbc (diff) | |
opus-tools: import new package
Opus-tools provides command-line utilities to encode, inspect, and decode .opus files.
Signed-off-by: Nicolas Thill <nico@openwrt.org>
| -rw-r--r-- | utils/opus-tools/Makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/utils/opus-tools/Makefile b/utils/opus-tools/Makefile new file mode 100644 index 000000000..da13a4e11 --- /dev/null +++ b/utils/opus-tools/Makefile @@ -0,0 +1,47 @@ +# +# Copyright (C) 2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=opus-tools +PKG_VERSION:=0.1.9 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://downloads.xiph.org/releases/opus/ +PKG_MD5SUM:=20682e4d8d1ae9ec5af3cf43e808b8cb + +PKG_LICENSE:=BSD-2-Clause +PKG_LICENSE_FILE:=COPYING +PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org> + +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/opus-tools + SECTION:=utils + CATEGORY:=Utilities + DEPENDS:=+libogg +libopus + TITLE:=OPUS Codec tools + URL:=http://opus-codec.org/ +endef + +define Package/opus-tools/description + This package provides command-line utilities to encode, inspect, and decode + .opus files. +endef + +CONFIGURE_ARGS += \ + --without-flac \ + +define Package/opus-tools/install + $(INSTALL_DIR) $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/bin/opus{dec,enc,info} $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,opus-tools)) |
