Magellan Linux

Contents of /smage/trunk/core/apr-util/apr-util-1.5.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4308 - (show annotations) (download)
Tue Nov 13 10:18:31 2012 UTC (11 years, 7 months ago) by niro
File size: 966 byte(s)
-dropped deprecated patches
1 # $Id$
2
3 PNAME="apr-util"
4 PVER="1.5.1"
5 PBUILD="r1"
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
19 SRCFILE="${PNAME}-${PVER}.tar.bz2"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21
22 sminclude mbuild
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-odbc \
43 --without-gdbm \
44 --without-mysql \
45 --without-pgsql \
46 --without-sqlite2 \
47 --without-sqlite3 \
48 || die
49
50 mmake || die
51 }