libsrtp: partially revert previous commit
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
This commit is contained in:
parent
3ee497693e
commit
e2487d8631
1 changed files with 8 additions and 42 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011-2012 OpenWrt.org
|
# Copyright (C) 2014 OpenWrt.org
|
||||||
# Copyright (C) 2011 Victor Seva <linuxmaniac@torreviejawireless.org>
|
# Copyright (C) 2011 Victor Seva <linuxmaniac@torreviejawireless.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.
|
||||||
|
@ -23,45 +23,18 @@ include $(INCLUDE_DIR)/package.mk
|
||||||
TARGET_CFLAGS += $(FPIC)
|
TARGET_CFLAGS += $(FPIC)
|
||||||
CONFIGURE_ARGS += --disable-stdout --enable-syslog
|
CONFIGURE_ARGS += --disable-stdout --enable-syslog
|
||||||
|
|
||||||
define Package/libsrtp/Default
|
define Package/libsrtp
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
TITLE:=Secure Real-time Transport Protocol (SRTP)
|
TITLE:=Secure Real-time Transport Protocol (SRTP) library
|
||||||
URL:=http://sourceforge.net/projects/srtp
|
URL:=http://sourceforge.net/projects/srtp
|
||||||
MAINTAINER:=Jiri Slachta <slachta@cesnet.cz>
|
MAINTAINER:=Jiri Slachta <slachta@cesnet.cz>
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libsrtp/Default/description
|
|
||||||
Open-source implementation of the Secure Real-time Transport
|
|
||||||
Protocol (SRTP) originally authored by Cisco Systems, Inc.
|
|
||||||
It is available under a BSD-style license.
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/libsrtp
|
|
||||||
$(call Package/libsrtp/Default)
|
|
||||||
TITLE+= library
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/libsrtp/description
|
define Package/libsrtp/description
|
||||||
$(call Package/libsrtp/Default/description)
|
Open-source implementation of the Secure Real-time Transport
|
||||||
|
Protocol (SRTP) originally authored by Cisco Systems, Inc.
|
||||||
This package ONLY contains shared libraries. For development
|
It is available under a BSD-style license.
|
||||||
libraries, please install libsrtp-dev package.
|
|
||||||
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/libsrtp-dev
|
|
||||||
$(call Package/libsrtp/Default)
|
|
||||||
TITLE+= development library
|
|
||||||
DEPENDS:=+libsrtp
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/libsrtp-dev/description
|
|
||||||
$(call Package/libsrtp/Default/description)
|
|
||||||
|
|
||||||
This package contains ONLY include files, static libraries, and
|
|
||||||
pkgconfig files.
|
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
|
@ -74,15 +47,8 @@ endef
|
||||||
|
|
||||||
define Package/libsrtp/install
|
define Package/libsrtp/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsrtp.so* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsrtp.so.* \
|
||||||
endef
|
$(1)/usr/lib/
|
||||||
|
|
||||||
|
|
||||||
define Package/libsrtp-dev/install
|
|
||||||
$(INSTALL_DIR) $(1)/usr/{include,lib}
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include $(1)/usr/
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsrtp.a $(1)/usr/lib/
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,libsrtp))
|
$(eval $(call BuildPackage,libsrtp))
|
||||||
$(eval $(call BuildPackage,libsrtp-dev))
|
|
||||||
|
|
Loading…
Reference in a new issue