noddos: Noddos v0.5.0 with mDNS / DNS-SD support
[feed/packages.git] / utils / opus-tools / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=opus-tools
11 PKG_VERSION:=0.1.9
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://downloads.xiph.org/releases/opus/
16 PKG_MD5SUM:=20682e4d8d1ae9ec5af3cf43e808b8cb
17
18 PKG_LICENSE:=BSD-2-Clause
19 PKG_LICENSE_FILES:=COPYING
20 PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org>
21
22 PKG_INSTALL:=1
23
24 include $(INCLUDE_DIR)/package.mk
25
26 define Package/opus-tools
27 SECTION:=utils
28 CATEGORY:=Utilities
29 DEPENDS:=+libogg +libopus
30 TITLE:=OPUS Codec tools
31 URL:=http://opus-codec.org/
32 endef
33
34 define Package/opus-tools/description
35 This package provides command-line utilities to encode, inspect, and decode
36 .opus files.
37 endef
38
39 CONFIGURE_ARGS += \
40 --without-flac \
41
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/
45 endef
46
47 $(eval $(call BuildPackage,opus-tools))