diff mbox

[v2,4/7] Adding libsrtp

Message ID 1418398967-2183-5-git-send-email-gregd72002@gmail.com
State Accepted
Headers show

Commit Message

Gregory Dymarek Dec. 12, 2014, 3:42 p.m. UTC
Signed-off-by: Gregory Dymarek <gregd72002@gmail.com>
---
 package/Config.in            |  1 +
 package/libsrtp/Config.in    |  5 +++++
 package/libsrtp/libsrtp.hash |  1 +
 package/libsrtp/libsrtp.mk   | 13 +++++++++++++
 4 files changed, 20 insertions(+)
 create mode 100644 package/libsrtp/Config.in
 create mode 100644 package/libsrtp/libsrtp.hash
 create mode 100644 package/libsrtp/libsrtp.mk

Comments

Thomas Petazzoni Jan. 1, 2015, 10:30 a.m. UTC | #1
Dear Gregory Dymarek,

On Fri, 12 Dec 2014 15:42:44 +0000, Gregory Dymarek wrote:
> Signed-off-by: Gregory Dymarek <gregd72002@gmail.com>
> ---
>  package/Config.in            |  1 +
>  package/libsrtp/Config.in    |  5 +++++
>  package/libsrtp/libsrtp.hash |  1 +
>  package/libsrtp/libsrtp.mk   | 13 +++++++++++++
>  4 files changed, 20 insertions(+)
>  create mode 100644 package/libsrtp/Config.in
>  create mode 100644 package/libsrtp/libsrtp.hash
>  create mode 100644 package/libsrtp/libsrtp.mk

Thanks, applied, after doing numerous changes:

[Thomas:
 - Add better Config.in help text and fix its indentation
 - Fix comment header in .mk file
 - Uncomment useful commented lines in .mk file (SITE and AUTORECONF)
 - Add LICENSE_FILES variable.
 - Add handling of static/shared libraries build/installation.
 - Add dependency on host-pkgconf, so that libsrtp installs its own
   .pc file.
 - Add optional dependency on OpenSSL.
 - Use github helper.
 - Remove hash file, since we're downloading from Git.]

See
http://git.buildroot.net/buildroot/commit/?id=10f42fa8ae8d05bf36fd5e65f0ab2a1315cab18d
for the final commit.

Thanks,

Thomas
diff mbox

Patch

diff --git a/package/Config.in b/package/Config.in
index e8c973e..501f505 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -843,6 +843,7 @@  menu "Networking"
 	source "package/libshairplay/Config.in"
 	source "package/libshout/Config.in"
 	source "package/libsoup/Config.in"
+	source "package/libsrtp/Config.in"
 	source "package/libstrophe/Config.in"
 	source "package/libtirpc/Config.in"
 	source "package/libtorrent/Config.in"
diff --git a/package/libsrtp/Config.in b/package/libsrtp/Config.in
new file mode 100644
index 0000000..b81e9cf
--- /dev/null
+++ b/package/libsrtp/Config.in
@@ -0,0 +1,5 @@ 
+config BR2_PACKAGE_LIBSRTP
+	bool "libsrtp"
+	help
+	Adds libsrtp
+	https://github.com/cisco/libsrtp
diff --git a/package/libsrtp/libsrtp.hash b/package/libsrtp/libsrtp.hash
new file mode 100644
index 0000000..18f3eea
--- /dev/null
+++ b/package/libsrtp/libsrtp.hash
@@ -0,0 +1 @@ 
+sha256,aefb6c068b201a051585976526e9795bb74d8540446657559622d31d0d755cbb
diff --git a/package/libsrtp/libsrtp.mk b/package/libsrtp/libsrtp.mk
new file mode 100644
index 0000000..7c76785
--- /dev/null
+++ b/package/libsrtp/libsrtp.mk
@@ -0,0 +1,13 @@ 
+#############################################################
+#
+# libsrtp
+#
+#############################################################
+LIBSRTP_VERSION = v1.5.0
+LIBSRTP_SITE_METHOD = git
+#LIBSRTP_SITE = https://github.com/cisco/libsrtp/
+#LIBSRTP_AUTORECONF = YES
+LIBSRTP_INSTALL_STAGING = YES
+LIBSRTP_LICENSE = BSD-3c 
+
+$(eval $(autotools-package))