Annotation of /trunk/core/apr-util/apr-util-1.3.9-r1.smage2
Parent Directory | Revision Log
Revision 3553 -
(hide annotations)
(download)
Mon Oct 26 12:33:56 2009 UTC (14 years, 8 months ago) by niro
File size: 1180 byte(s)
Mon Oct 26 12:33:56 2009 UTC (14 years, 8 months ago) by niro
File size: 1180 byte(s)
-added patch to support db-4.8
1 | niro | 3550 | # $Id$ |
2 | |||
3 | PNAME="apr-util" | ||
4 | PVER="1.3.9" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="dev-libs" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="APR-Util - Apache Portable Runtime Utility library." | ||
11 | HOMEPAGE="http://apr.apache.org/" | ||
12 | |||
13 | # our supported db version | ||
14 | DB_VERSION="4.8" | ||
15 | |||
16 | DEPEND=">= dev-libs/expat-2 | ||
17 | >= dev-libs/apr-${PVER} | ||
18 | >= dev-db/db-${DB_VERSION}" | ||
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 | niro | 3553 | mirror://${PNAME}/${PNAME}-${PVER}-db48.patch |
29 | niro | 3550 | ) |
30 | |||
31 | UP2DATE="updatecmd http://archive.apache.org/dist/apr/ | grep ${PNAME}-[0-9] | lasttarball" | ||
32 | |||
33 | niro | 3553 | src_prepare() |
34 | { | ||
35 | munpack ${SRCFILE} || die | ||
36 | cd ${SRCDIR} | ||
37 | |||
38 | # support for db-4.8 | ||
39 | mpatch ${PNAME}-${PVER}-db48.patch || die | ||
40 | autoreconf --install --force --verbose || die | ||
41 | } | ||
42 | |||
43 | niro | 3550 | src_compile() |
44 | { | ||
45 | cd ${SRCDIR} | ||
46 | |||
47 | mconfigure \ | ||
48 | --datadir=/usr/share/${PNAME}-${PVER:0:1} \ | ||
49 | --includedir=/usr/include/apr-${PVER:0:1} \ | ||
50 | --with-apr=/usr \ | ||
51 | --with-expat=/usr \ | ||
52 | --with-dbm=db${DB_VERSION/./} \ | ||
53 | --with-berkeley-db \ | ||
54 | --without-gdbm \ | ||
55 | --without-mysql \ | ||
56 | --without-pgsql \ | ||
57 | --without-sqlite2 \ | ||
58 | --without-sqlite3 \ | ||
59 | || die | ||
60 | |||
61 | mmake || die | ||
62 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |