Magellan Linux

Contents of /branches/magellan-next/core/apr-util/apr-util-1.3.10-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7256 - (show annotations) (download)
Tue Oct 12 10:01:02 2010 UTC (13 years, 7 months ago) by niro
File size: 1053 byte(s)
auto added: ver bump to 1.3.10-r1
1 # $Id: apr-util-1.3.9-r1.smage2 5594 2010-07-07 07:40:24Z niro $
2
3 PNAME="apr-util"
4 PVER="1.3.10"
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="5.0"
15
16 DEPEND=">= dev-libs/expat-2
17 >= dev-libs/apr-${PVER}
18 >= dev-db/db-${DB_VERSION}
19 >= dev-db/unixodbc-2.2"
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 --without-gdbm \
45 --without-mysql \
46 --without-pgsql \
47 --without-sqlite2 \
48 --without-sqlite3 \
49 || die
50
51 mmake || die
52 }