Magellan Linux

Contents of /trunk/extras/apr-util/apr-util-1.2.12-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 964 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/apr-util/apr-util-1.2.12-r3.smage2,v 1.1 2008/03/15 21:21:39 niro Exp $
2
3 PNAME="apr-util"
4 PVER="1.2.12"
5 PBUILD="r3"
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.6"
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 src_compile()
31 {
32 cd ${SRCDIR}
33
34 mconfigure \
35 --datadir=/usr/share/${PNAME}-${PVER:0:1} \
36 --includedir=/usr/include/apr-${PVER:0:1} \
37 --with-apr=/usr \
38 --with-expat=/usr \
39 --with-dbm=db${DB_VERSION/./} \
40 --with-berkeley-db \
41 --without-gdbm \
42 --without-mysql \
43 --without-pgsql \
44 --without-sqlite2 \
45 --without-sqlite3 \
46 || die
47
48 mmake || die
49 }

Properties

Name Value
svn:keywords Id