Contents of /trunk/extras/libpcre/libpcre-7.6-r2.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 691 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 691 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/libpcre/libpcre-7.6-r2.smage2,v 1.1 2008/04/03 12:28:22 niro Exp $ |
2 | |
3 | PNAME="libpcre" |
4 | PVER="7.6" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="dev-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="PCRE - Perl Compatible Regular Expressions." |
11 | HOMEPAGE="http://www.pcre.org/" |
12 | |
13 | DEPEND=">= virtual/glibc" |
14 | |
15 | SRCFILE="${PNAME/lib/}-${PVER}.tar.bz2" |
16 | SRCDIR="${BUILDDIR}/${PNAME/lib/}-${PVER}" |
17 | |
18 | sminclude mbuild |
19 | |
20 | SRC_URI=( |
21 | ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | src_compile() |
26 | { |
27 | cd ${SRCDIR} |
28 | |
29 | export CFLAGS="${CFLAGS} -fPIC" |
30 | export CXXFLAGS="${CFLAGS}" |
31 | |
32 | mconfigure --enable-utf8 || die |
33 | |
34 | # does not like optimations > -j1 |
35 | mmake -j1 || die |
36 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |