Magellan Linux

Contents of /branches/magellan-next/core/apr/apr-1.4.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7255 - (show annotations) (download)
Tue Oct 12 09:43:47 2010 UTC (13 years, 7 months ago) by niro
File size: 834 byte(s)
auto added: ver bump to 1.4.2-r1
1 # $Id: apr-1.3.9-r1.smage2 3549 2009-10-26 11:35:55Z niro $
2
3 PNAME="apr"
4 PVER="1.4.2"
5 PBUILD="r1"
6
7 PCATEGORIE="dev-libs"
8 STATE="unstable"
9
10 DESCRIPTION="APR - Apache Portable Runtime library."
11 HOMEPAGE="http://apr.apache.org/"
12
13 DEPEND=""
14
15 SRCFILE="${PNAME}-${PVER}.tar.bz2"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude mbuild
19
20 SRC_URI=(
21 http://archive.apache.org/dist/${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2DATE="updatecmd http://archive.apache.org/dist/${PNAME}/ | grep ${PNAME}-[0-9] | lasttarball"
26
27 src_compile()
28 {
29 cd ${SRCDIR}
30
31 mconfigure \
32 --datadir=/usr/share/apr-${PVER:0:1} \
33 --includedir=/usr/include/apr-${PVER:0:1} \
34 --with-installbuilddir=/usr/$(mlibdir)/apr-${PVER:0:1}/build \
35 --with-devrandom=/dev/urandom \
36 --enable-threads \
37 --enable-nonportable-atomics \
38 || die
39
40 mmake || die
41 }