Update libpcre to 8.21

This commit is contained in:
Scott McCreary
2012-02-24 22:11:15 +00:00
parent b3968375b2
commit 27b28e414d

View File

@@ -0,0 +1,38 @@
DESCRIPTION="libpcre - Perl Compatible Regular Expressions"
HOMEPAGE="http://www.pcre.org/"
SRC_URI="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.21.tar.bz2"
CHECKSUM_MD5="0a7b592bea64b7aa7f4011fc7171a730"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd pcre-8.21
LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`
libtoolize --force --copy
aclocal
autoconf
automake
COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--enable-utf8 \
--enable-unicode-properties \
--with-pic \
--libdir=${LIBDIR} \
--mandir=$COMMON_DOCS/man \
--docdir=$COMMON_DOCS/doc/pcre
make
}
INSTALL {
cd pcre-8.21
make install
}
TEST {
cd pcre-8.21
make check
}
LICENSE="PCRE"
COPYRIGHT="1997-2011 University of Cambridge
2007-2011, Google Inc. All rights reserved."