mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
libopus: disable building unused features
disable-doc turns off API documentation disable-extra-programs turns off demo and test creation Commit also removes whitespace at EOL in description. Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2014 OpenWrt.org
|
# Copyright (C) 2014-2015 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=opus
|
PKG_NAME:=opus
|
||||||
PKG_VERSION:=1.1
|
PKG_VERSION:=1.1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://downloads.xiph.org/releases/opus/
|
PKG_SOURCE_URL:=http://downloads.xiph.org/releases/opus/
|
||||||
@@ -36,6 +36,10 @@ define Package/libopus/description
|
|||||||
is also intended for storage and streaming applications.
|
is also intended for storage and streaming applications.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
CONFIGURE_ARGS+= \
|
||||||
|
--disable-doc \
|
||||||
|
--disable-extra-programs
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/opus $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/opus $(1)/usr/include/
|
||||||
|
|||||||
Reference in New Issue
Block a user