Magellan Linux

Contents of /branches/R11-unstable/extras/apr/apr-1.6.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32875 - (show annotations) (download)
Mon Apr 29 13:52:11 2019 UTC (5 years ago) by niro
File size: 800 byte(s)
-release branches/R11-unstable
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 }