Magellan Linux

Annotation of /smage/branches/alx07x-stable/core/apr/apr-1.6.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12734 - (hide annotations) (download)
Fri Oct 26 08:19:41 2018 UTC (5 years, 6 months ago) by niro
File size: 840 byte(s)
-release branches/alx07x-stable
1 niro 11552 # $Id$
2    
3     PNAME="apr"
4     PVER="1.6.3"
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     SDEPEND=">= sys-libs/libuuid-dev-2.25"
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     }