Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

update pcre recipe #674

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions pcre/bld.bat

This file was deleted.

15 changes: 6 additions & 9 deletions pcre/build.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
#!/bin/bash

MACHINE="$(uname 2>/dev/null)"
export CFLAGS="-I$PREFIX/include"
export CPPFLAGS="-I$PREFIX/include"
export LDFLAGS="-L$PREFIX/lib"

export CPPFLAGS="-I${PREFIX}/include"
export LDFLAGS="-L${PREFIX}/lib"

mkdir -p ${PREFIX}/bin || exit 1;

./configure --prefix="${PREFIX}" || return 1;
make || return 1;
make install || return 1;
./configure --enable-utf --enable-unicode-properties --enable-pcregrep-libz --enable-pcregrep-libbz2 --enable-pcre16 --enable-pcre32 --prefix=$PREFIX
make
make install

26 changes: 21 additions & 5 deletions pcre/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,33 @@

package:
name: pcre
version: 8.36
version: 8.38

source:
fn: pcre-8.36.tar.gz
url: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.36.tar.gz
md5: ff7b4bb14e355f04885cf18ff4125c98
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://www.pcre.org/
home: http://pcre.org/original/doc/html/pcrebuild.html
license: 3-clause BSD License
summary: "Perl Compatible Regular Expressions"

Binary file removed pcre/pcre-8.36.tar.gz
Binary file not shown.