Annotation of /branches/R11-unstable/extras/apr/apr-1.5.2-r1.smage2
Parent Directory | Revision Log
Revision 25114 -
(hide annotations)
(download)
Tue Nov 25 03:04:02 2014 UTC (9 years, 10 months ago) by niro
File size: 800 byte(s)
Tue Nov 25 03:04:02 2014 UTC (9 years, 10 months ago) by niro
File size: 800 byte(s)
-release branches/R11-unstable
1 | niro | 24836 | # $Id$ |
2 | |||
3 | PNAME="apr" | ||
4 | PVER="1.5.2" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="dev-libs" | ||
8 | |||
9 | DESCRIPTION="APR - Apache Portable Runtime library." | ||
10 | HOMEPAGE="http://apr.apache.org/" | ||
11 | |||
12 | DEPEND=">= virtual/glibc | ||
13 | >= sys-libs/libuuid-2.25" | ||
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 | } |