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