Contents of /branches/R11-stable/extras/apr-util/apr-util-1.5.3-r1.smage2
Parent Directory | Revision Log
Revision 20447 -
(show annotations)
(download)
Mon Jan 27 09:20:50 2014 UTC (10 years, 8 months ago) by niro
File size: 942 byte(s)
Mon Jan 27 09:20:50 2014 UTC (10 years, 8 months ago) by niro
File size: 942 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="apr-util" |
4 | PVER="1.5.3" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="dev-libs" |
8 | |
9 | DESCRIPTION="APR-Util - Apache Portable Runtime Utility library." |
10 | HOMEPAGE="http://apr.apache.org/" |
11 | |
12 | DEPEND=">= dev-libs/expat-2 |
13 | >= dev-libs/apr-${PVER} |
14 | >= dev-db/db-6.0 |
15 | >= dev-db/unixodbc-2.3 |
16 | >= sys-libs/libuuid-2.23" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | sminclude mbuild |
22 | |
23 | SRC_URI=( |
24 | http://archive.apache.org/dist/apr/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd 'http://archive.apache.org/dist/apr/?C=M;O=A' | grep ${PNAME}-[0-9] | lasttarball" |
29 | |
30 | src_compile() |
31 | { |
32 | cd ${SRCDIR} |
33 | |
34 | mconfigure \ |
35 | --datadir=/usr/share/${PNAME}-${PVER:0:1} \ |
36 | --includedir=/usr/include/apr-${PVER:0:1} \ |
37 | --with-apr=/usr \ |
38 | --with-expat=/usr \ |
39 | --with-dbm=db \ |
40 | --with-berkeley-db \ |
41 | --with-odbc \ |
42 | --without-gdbm \ |
43 | --without-mysql \ |
44 | --without-pgsql \ |
45 | --without-sqlite2 \ |
46 | --without-sqlite3 \ |
47 | || die |
48 | |
49 | mmake || die |
50 | } |