1b5b9a1065608092df9f08c270436437498b5cf3
[feed/packages.git] / sound / opus-tools / Makefile
1 #
2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
4 #
5
6 include $(TOPDIR)/rules.mk
7
8 PKG_NAME:=opus-tools
9 PKG_VERSION:=0.1.10
10 PKG_RELEASE:=1
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=http://downloads.xiph.org/releases/opus/
14 PKG_HASH:=a2357532d19471b70666e0e0ec17d514246d8b3cb2eb168f68bb0f6fd372b28c
15
16 PKG_LICENSE:=BSD-2-Clause
17 PKG_LICENSE_FILES:=COPYING
18 PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>, \
19 Nicolas Thill <nico@openwrt.org>
20
21 PKG_INSTALL:=1
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/opus-tools
26 SECTION:=sound
27 CATEGORY:=Sound
28 DEPENDS:=+libogg +libopus
29 TITLE:=OPUS Codec tools
30 URL:=http://opus-codec.org/
31 endef
32
33 define Package/opus-tools/description
34 This package provides command-line utilities to encode, inspect,
35 and decode .opus files.
36 endef
37
38 CONFIGURE_ARGS += \
39 --without-flac \
40
41 define Package/opus-tools/install
42 $(INSTALL_DIR) $(1)/usr/bin
43 $(CP) $(PKG_INSTALL_DIR)/usr/bin/opus{dec,enc,info} $(1)/usr/bin/
44 endef
45
46 $(eval $(call BuildPackage,opus-tools))