Contents of /smage/branches/alx08x-unstable/core/apr/apr-1.7.4-r1.smage2
Parent Directory
|
Revision Log
Revision 17347 -
(show annotations)
(download)
Wed Nov 22 10:40:31 2023 UTC (6 months, 3 weeks ago) by niro
File size: 898 byte(s)
Wed Nov 22 10:40:31 2023 UTC (6 months, 3 weeks ago) by niro
File size: 898 byte(s)
-release branches/alx08x-unstable
1 | # $Id$ |
2 | |
3 | PNAME="apr" |
4 | PVER="1.7.4" |
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.39 |
14 | >= sys-libs/libxcrypt-4.4" |
15 | |
16 | SDEPEND=">= sys-libs/libuuid-dev-2.39 |
17 | >= sys-libs/libxcrypt-dev-4.4" |
18 | |
19 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
21 | |
22 | sminclude mbuild |
23 | |
24 | SRC_URI=( |
25 | http://archive.apache.org/dist/${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | ) |
28 | |
29 | UP2DATE="updatecmd http://archive.apache.org/dist/${PNAME}/ | grep ${PNAME}-[0-9] | lasttarball" |
30 | |
31 | src_compile() |
32 | { |
33 | cd ${SRCDIR} |
34 | |
35 | mconfigure \ |
36 | --datadir=/usr/share/apr-${PVER:0:1} \ |
37 | --includedir=/usr/include/apr-${PVER:0:1} \ |
38 | --with-installbuilddir=/usr/$(mlibdir)/apr-${PVER:0:1}/build \ |
39 | --with-devrandom=/dev/urandom \ |
40 | --enable-threads \ |
41 | --enable-nonportable-atomics \ |
42 | || die |
43 | |
44 | mmake || die |
45 | } |