Contents of /smage/branches/alx-0_6_0/core/apr-util/apr-util-1.3.12-r1.smage2
Parent Directory | Revision Log
Revision 2713 -
(show annotations)
(download)
Fri Aug 5 10:19:26 2011 UTC (12 years, 10 months ago) by niro
File size: 977 byte(s)
Fri Aug 5 10:19:26 2011 UTC (12 years, 10 months ago) by niro
File size: 977 byte(s)
-ver bump to 1.3.12-r1
1 | # $Id$ |
2 | |
3 | PNAME="apr-util" |
4 | PVER="1.3.12" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="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.1" |
14 | |
15 | DEPEND=">= dev-libs/expat-2 |
16 | >= dev-libs/apr-${PVER} |
17 | >= dev-db/db-${DB_VERSION}" |
18 | |
19 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
21 | |
22 | sminclude mbuild alx |
23 | |
24 | SRC_URI=( |
25 | http://archive.apache.org/dist/apr/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | ) |
28 | |
29 | UP2DATE="updatecmd 'http://archive.apache.org/dist/apr/?C=M;O=A' | grep ${PNAME}-[0-9] | lasttarball" |
30 | |
31 | src_compile() |
32 | { |
33 | cd ${SRCDIR} |
34 | |
35 | mconfigure \ |
36 | --datadir=/usr/share/${PNAME}-${PVER:0:1} \ |
37 | --includedir=/usr/include/apr-${PVER:0:1} \ |
38 | --with-apr=/usr \ |
39 | --with-expat=/usr \ |
40 | --with-dbm=db${DB_VERSION/./} \ |
41 | --with-berkeley-db \ |
42 | --without-gdbm \ |
43 | --without-mysql \ |
44 | --without-pgsql \ |
45 | --without-sqlite2 \ |
46 | --without-sqlite3 \ |
47 | --without-odbc \ |
48 | || die |
49 | |
50 | mmake || die |
51 | } |