Magellan Linux

Contents of /trunk/core/apr-util/apr-util-1.3.9-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5594 - (show annotations) (download)
Wed Jul 7 07:40:24 2010 UTC (13 years, 11 months ago) by niro
File size: 1204 byte(s)
-fixed missing unixodbc dependency
1 # $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 >= 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 mirror://${PNAME}/${PNAME}-${PVER}-db48.patch
30 )
31
32 UP2DATE="updatecmd http://archive.apache.org/dist/apr/ | grep ${PNAME}-[0-9] | lasttarball"
33
34 src_prepare()
35 {
36 munpack ${SRCFILE} || die
37 cd ${SRCDIR}
38
39 # support for db-4.8
40 mpatch ${PNAME}-${PVER}-db48.patch || die
41 autoreconf --install --force --verbose || die
42 }
43
44 src_compile()
45 {
46 cd ${SRCDIR}
47
48 mconfigure \
49 --datadir=/usr/share/${PNAME}-${PVER:0:1} \
50 --includedir=/usr/include/apr-${PVER:0:1} \
51 --with-apr=/usr \
52 --with-expat=/usr \
53 --with-dbm=db${DB_VERSION/./} \
54 --with-berkeley-db \
55 --without-gdbm \
56 --without-mysql \
57 --without-pgsql \
58 --without-sqlite2 \
59 --without-sqlite3 \
60 || die
61
62 mmake || die
63 }

Properties

Name Value
svn:keywords Id