diff --git a/recipes/pcre/build.sh b/recipes/pcre/build.sh new file mode 100755 index 0000000000000..a943a890d3ef7 --- /dev/null +++ b/recipes/pcre/build.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +export CFLAGS="-I$PREFIX/include" +export CPPFLAGS="-I$PREFIX/include" +export LDFLAGS="-L$PREFIX/lib" + +./configure --enable-utf --enable-unicode-properties --enable-pcregrep-libz --enable-pcregrep-libbz2 --enable-pcre16 --enable-pcre32 --prefix=$PREFIX +make +make install + diff --git a/recipes/pcre/meta.yaml b/recipes/pcre/meta.yaml new file mode 100644 index 0000000000000..317c86575c4e2 --- /dev/null +++ b/recipes/pcre/meta.yaml @@ -0,0 +1,33 @@ + +package: + name: pcre + version: 8.38 + +source: + fn: pcre-8.38.tar.gz + url: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.38.tar.gz + md5: 8a353fe1450216b6655dfcf3561716d9 + +build: + number: 0 + +requirements: + build: + - gcc # [linux] + - llvm # [osx] + - zlib + - bzip2 + run: + - zlib + - bzip2 + +test: + commands: + - pcregrep --version + - pcretest -help + +about: + home: http://pcre.org/original/doc/html/pcrebuild.html + license: 3-clause BSD License + summary: "Perl Compatible Regular Expressions" +