]> sigrok.org Git - sigrok-util.git/commitdiff
sigrok-cross-android: Add and build pcre.
authorUwe Hermann <redacted>
Mon, 22 Apr 2013 14:41:35 +0000 (16:41 +0200)
committerUwe Hermann <redacted>
Mon, 22 Apr 2013 14:55:49 +0000 (16:55 +0200)
cross-compile/android/sigrok-cross-android

index 2c7a0c9e65d90d0a459c505bd3a34a3ef3e60c92..a02dda2efba6b0af39e114c10cd4631484861e05 100755 (executable)
@@ -34,6 +34,7 @@ BUILDDIR=./sr_android_build
 
 VER_LIBICONV=1.14
 VER_GETTEXT=0.18.2
+VER_PCRE=8.32
 VER_LIBFFI=3.0.11
 VER_GLIB=2.34.3
 VER_LIBZIP=0.10.1
@@ -85,7 +86,11 @@ git clone git://git.savannah.gnu.org/config.git
 # TODO
 
 # pcre (needed for glib)
-# TODO
+wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$VER_PCRE.tar.gz
+tar xfvz pcre-$VER_PCRE.tar.gz
+cd pcre-$VER_PCRE
+./configure $C && make && make install
+cd ..
 
 # libffi (needed for glib)
 wget ftp://sourceware.org/pub/libffi/libffi-$VER_LIBFFI.tar.gz