[vlc-commits] Contribs: add regex (necessary for Win32 libcddb)
Jean-Baptiste Kempf
git at videolan.org
Sun Aug 7 00:24:55 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 7 00:20:55 2011 +0200| [325812b6b0bc5dc483d1424055f176a151340b65] | committer: Jean-Baptiste Kempf
Contribs: add regex (necessary for Win32 libcddb)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=325812b6b0bc5dc483d1424055f176a151340b65
---
contrib/src/regex/SHA512SUMS | 1 +
contrib/src/regex/rules.mak | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/contrib/src/regex/SHA512SUMS b/contrib/src/regex/SHA512SUMS
new file mode 100644
index 0000000..5f0a093
--- /dev/null
+++ b/contrib/src/regex/SHA512SUMS
@@ -0,0 +1 @@
+85a4f5161759646b3cf5484539cebe92e51ee1896f7853084d4aba2b5399164922103dc2b49971eca9821bec56195fef999f100f61b6d734955ccd7c81ca3ca7 regex-0.12.tar.gz
diff --git a/contrib/src/regex/rules.mak b/contrib/src/regex/rules.mak
new file mode 100644
index 0000000..79ce6e3
--- /dev/null
+++ b/contrib/src/regex/rules.mak
@@ -0,0 +1,20 @@
+# REGEX
+REGEX_VERSION := 0.12
+REGEX_URL := http://ftp.gnu.org/old-gnu/regex/regex-$(REGEX_VERSION).tar.gz
+
+PKGS_FOUND += regex
+
+$(TARBALLS)/regex-$(REGEX_VERSION).tar.gz:
+ $(call download,$(REGEX_URL))
+
+.sum-regex: regex-$(REGEX_VERSION).tar.gz
+
+regex: regex-$(REGEX_VERSION).tar.gz .sum-regex
+ $(UNPACK)
+ $(MOVE)
+
+.regex: regex
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+ cd $< && make subirs=
+ cd $< && $(AR) rcvu libregex.a regex.o && $(RANLIB) libregex.a && cp -v regex.h $(PREFIX)/include && cp -v libregex.a $(PREFIX)/lib
+ touch $@
More information about the vlc-commits
mailing list