Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5288 - (show annotations) (download)
Wed Dec 18 09:03:51 2013 UTC (10 years, 5 months ago) by niro
File size: 921 byte(s)
auto added: ver bump to 1.5.3-r1
1 # $Id$
2
3 PNAME="apr-util"
4 PVER="1.5.3"
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 DEPEND=">= dev-libs/expat-2
13 >= dev-libs/apr-${PVER}
14 >= dev-db/db-6.0
15 >= sys-libs/libuuid-2.23"
16
17 SRCFILE="${PNAME}-${PVER}.tar.bz2"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19
20 sminclude mbuild
21
22 SRC_URI=(
23 http://archive.apache.org/dist/apr/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 )
26
27 UP2DATE="updatecmd 'http://archive.apache.org/dist/apr/?C=M;O=A' | grep ${PNAME}-[0-9] | lasttarball"
28
29 src_compile()
30 {
31 cd ${SRCDIR}
32
33 mconfigure \
34 --datadir=/usr/share/${PNAME}-${PVER:0:1} \
35 --includedir=/usr/include/apr-${PVER:0:1} \
36 --with-apr=/usr \
37 --with-expat=/usr \
38 --with-dbm=db \
39 --with-berkeley-db \
40 --without-odbc \
41 --without-gdbm \
42 --without-mysql \
43 --without-pgsql \
44 --without-sqlite2 \
45 --without-sqlite3 \
46 || die
47
48 mmake || die
49 }