Contents of /smage/trunk/core/apr/apr-1.5.2-r1.smage2
Parent Directory | Revision Log
Revision 6905 -
(show annotations)
(download)
Mon Jul 27 08:14:09 2015 UTC (9 years, 2 months ago) by niro
File size: 840 byte(s)
Mon Jul 27 08:14:09 2015 UTC (9 years, 2 months ago) by niro
File size: 840 byte(s)
auto added: ver bump to 1.5.2-r1
1 | # $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 | SDEPEND=">= sys-libs/libuuid-dev-2.25" |
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/${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | ) |
26 | |
27 | UP2DATE="updatecmd http://archive.apache.org/dist/${PNAME}/ | grep ${PNAME}-[0-9] | lasttarball" |
28 | |
29 | src_compile() |
30 | { |
31 | cd ${SRCDIR} |
32 | |
33 | mconfigure \ |
34 | --datadir=/usr/share/apr-${PVER:0:1} \ |
35 | --includedir=/usr/include/apr-${PVER:0:1} \ |
36 | --with-installbuilddir=/usr/$(mlibdir)/apr-${PVER:0:1}/build \ |
37 | --with-devrandom=/dev/urandom \ |
38 | --enable-threads \ |
39 | --enable-nonportable-atomics \ |
40 | || die |
41 | |
42 | mmake || die |
43 | } |