]> git.sesse.net Git - vlc/commitdiff
Contribs: add gpg-error
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 4 Jul 2011 21:33:37 +0000 (23:33 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 4 Jul 2011 21:39:02 +0000 (23:39 +0200)
contrib/src/gpg-error/SHA512SUMS [new file with mode: 0644]
contrib/src/gpg-error/rules.mak [new file with mode: 0644]

diff --git a/contrib/src/gpg-error/SHA512SUMS b/contrib/src/gpg-error/SHA512SUMS
new file mode 100644 (file)
index 0000000..de0e3ac
--- /dev/null
@@ -0,0 +1 @@
+6cf5138e05fb6ee320035d86c71ff9aa940b0f16e4787eb832a781d5d97d0e865eac0b988c251657a0e77dffced1d9ef3e7f4d0cdf806cb18abfbbcf07f27a72  libgpg-error-1.7.tar.bz2
diff --git a/contrib/src/gpg-error/rules.mak b/contrib/src/gpg-error/rules.mak
new file mode 100644 (file)
index 0000000..86e0f23
--- /dev/null
@@ -0,0 +1,20 @@
+# GPGERROR
+GPGERROR_VERSION := 1.7
+GPGERROR_URL := ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-$(GPGERROR_VERSION).tar.bz2
+
+PKGS += gpg-error
+
+$(TARBALLS)/libgpg-error-$(GPGERROR_VERSION).tar.bz2:
+       $(call download,$(GPGERROR_URL))
+
+.sum-gpg-error: libgpg-error-$(GPGERROR_VERSION).tar.bz2
+
+libgpg-error: libgpg-error-$(GPGERROR_VERSION).tar.bz2 .sum-gpg-error
+       $(UNPACK)
+       $(MOVE)
+
+.gpg-error: libgpg-error
+       #$(RECONF)
+       cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --disable-nls --disable-shared --disable-languages
+       cd $< && $(MAKE) install
+       touch $@