Annotation of /smage/branches/alx07x-stable/core/apr/apr-1.7.0-r2.smage2
Parent Directory | Revision Log
Revision 14240 -
(hide annotations)
(download)
Mon Jul 6 19:28:11 2020 UTC (3 years, 10 months ago) by niro
Original Path: smage/trunk/core/apr/apr-1.7.0-r2.smage2
File size: 840 byte(s)
Mon Jul 6 19:28:11 2020 UTC (3 years, 10 months ago) by niro
Original Path: smage/trunk/core/apr/apr-1.7.0-r2.smage2
File size: 840 byte(s)
auto added: ver bump to 1.7.0-r2
1 | niro | 14240 | # $Id$ |
2 | |||
3 | PNAME="apr" | ||
4 | PVER="1.7.0" | ||
5 | PBUILD="r2" | ||
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.35" | ||
14 | |||
15 | SDEPEND=">= sys-libs/libuuid-dev-2.35" | ||
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 | } |