Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3550 - (show annotations) (download)
Mon Oct 26 11:45:53 2009 UTC (14 years, 8 months ago) by niro
File size: 960 byte(s)
auto added: ver bump to 1.3.9-r1
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
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 )
29
30 UP2DATE="updatecmd http://archive.apache.org/dist/apr/ | grep ${PNAME}-[0-9] | lasttarball"
31
32 src_compile()
33 {
34 cd ${SRCDIR}
35
36 mconfigure \
37 --datadir=/usr/share/${PNAME}-${PVER:0:1} \
38 --includedir=/usr/include/apr-${PVER:0:1} \
39 --with-apr=/usr \
40 --with-expat=/usr \
41 --with-dbm=db${DB_VERSION/./} \
42 --with-berkeley-db \
43 --without-gdbm \
44 --without-mysql \
45 --without-pgsql \
46 --without-sqlite2 \
47 --without-sqlite3 \
48 || die
49
50 mmake || die
51 }

Properties

Name Value
svn:keywords Id