Contents of /trunk/core/apr-util/apr-util-1.4.1-r1.smage2
Parent Directory | Revision Log
Revision 10477 -
(show annotations)
(download)
Sun Jan 22 17:07:35 2012 UTC (12 years, 8 months ago) by niro
File size: 971 byte(s)
Sun Jan 22 17:07:35 2012 UTC (12 years, 8 months ago) by niro
File size: 971 byte(s)
auto added: ver bump to 1.4.1-r1
1 | # $Id$ |
2 | |
3 | PNAME="apr-util" |
4 | PVER="1.4.1" |
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 | # our supported db version |
13 | DB_VERSION="5.3" |
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 | |
20 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
22 | |
23 | sminclude mbuild |
24 | |
25 | SRC_URI=( |
26 | http://archive.apache.org/dist/apr/${SRCFILE} |
27 | mirror://${PNAME}/${SRCFILE} |
28 | ) |
29 | |
30 | UP2DATE="updatecmd 'http://archive.apache.org/dist/apr/?C=M;O=A' | grep ${PNAME}-[0-9] | lasttarball" |
31 | |
32 | src_compile() |
33 | { |
34 | cd ${SRCDIR} |
35 | |
36 | mconfigure \ |
37 | --datadir=/usr/share/${PNAME}-${PVER:0:1} \ |
38 | --includedir=/usr/include/apr-${PVER:0:1} \ |
39 | --with-apr=/usr \ |
40 | --with-expat=/usr \ |
41 | --with-dbm=db${DB_VERSION/./} \ |
42 | --with-berkeley-db \ |
43 | --without-gdbm \ |
44 | --without-mysql \ |
45 | --without-pgsql \ |
46 | --without-sqlite2 \ |
47 | --without-sqlite3 \ |
48 | || die |
49 | |
50 | mmake || die |
51 | } |