Contents of /trunk/extras/apr/apr-1.6.5-r1.smage2
Parent Directory | Revision Log
Revision 31831 -
(show annotations)
(download)
Tue Dec 18 09:17:04 2018 UTC (5 years, 9 months ago) by niro
File size: 800 byte(s)
Tue Dec 18 09:17:04 2018 UTC (5 years, 9 months ago) by niro
File size: 800 byte(s)
auto added: ver bump to 1.6.5-r1
1 | # $Id$ |
2 | |
3 | PNAME="apr" |
4 | PVER="1.6.5" |
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 | } |