[vlc-commits] contrib: add nettle (not used yet)
Rémi Denis-Courmont
git at videolan.org
Tue Jul 19 19:01:50 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jul 19 20:01:29 2011 +0300| [b222a7a5166fe13ddd2d58a381458e5f44870642] | committer: Rémi Denis-Courmont
contrib: add nettle (not used yet)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b222a7a5166fe13ddd2d58a381458e5f44870642
---
contrib/src/nettle/SHA512SUMS | 1 +
contrib/src/nettle/rules.mak | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/contrib/src/nettle/SHA512SUMS b/contrib/src/nettle/SHA512SUMS
new file mode 100644
index 0000000..799e50e
--- /dev/null
+++ b/contrib/src/nettle/SHA512SUMS
@@ -0,0 +1 @@
+717d694804ed7e7154a89dff17a57173fa78c3330aa7cb289de7f8150872955518847e9ae7d0a1644980ea60367541f49ba63997328b1545d0555a8f4e212137 nettle-2.2.tar.gz
diff --git a/contrib/src/nettle/rules.mak b/contrib/src/nettle/rules.mak
new file mode 100644
index 0000000..b5db62a
--- /dev/null
+++ b/contrib/src/nettle/rules.mak
@@ -0,0 +1,20 @@
+# Nettle
+
+NETTLE_VERSION := 2.2
+NETTLE_URL := ftp://ftp.gnu.org/gnu/nettle/nettle-$(NETTLE_VERSION).tar.gz
+
+# PKGS += nettle
+
+$(TARBALLS)/nettle-$(NETTLE_VERSION).tar.gz:
+ $(call download,$(NETTLE_URL))
+
+.sum-nettle: nettle-$(NETTLE_VERSION).tar.gz
+
+nettle: nettle-$(NETTLE_VERSION).tar.gz .sum-nettle
+ $(UNPACK)
+ $(MOVE)
+
+.nettle: nettle
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+ cd $< && $(MAKE) install
+ touch $@
More information about the vlc-commits
mailing list