2 # Copyright (C) 2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://downloads.xiph.org
/releases
/opus
/
16 PKG_HASH
:=b1873dd78c7fbc98cf65d6e10cfddb5c2c03b3af93f922139a2104baedb4643a
18 PKG_LICENSE
:=BSD-2-Clause
19 PKG_LICENSE_FILES
:=COPYING
20 PKG_MAINTAINER
:=Nicolas Thill
<nico@openwrt.org
>
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/opus-tools
29 DEPENDS
:=+libogg
+libopus
30 TITLE
:=OPUS Codec tools
31 URL
:=http
://opus-codec.org
/
34 define Package
/opus-tools
/description
35 This package provides command-line utilities to encode
, inspect
, and decode
42 define Package
/opus-tools
/install
43 $(INSTALL_DIR
) $(1)/usr
/bin
44 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/opus
{dec
,enc
,info} $(1)/usr
/bin
/
47 $(eval
$(call BuildPackage
,opus-tools
))