Magellan Linux

Contents of /branches/R11-stable/extras/apr-util/apr-util-1.5.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15826 - (show annotations) (download)
Thu Jan 10 10:39:33 2013 UTC (11 years, 4 months ago) by niro
File size: 1013 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="apr-util"
4 PVER="1.5.1"
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="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 >= sys-libs/libuuid-2.22"
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 }