Magellan Linux

Contents of /smage/branches/alx07x-stable/core/apr/apr-1.7.0-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14901 - (show annotations) (download)
Thu Aug 6 12:48:01 2020 UTC (3 years, 8 months ago) by niro
File size: 840 byte(s)
-release branches/alx07x-stable
1 # $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 }