Contents of /smage/branches/alx-0_6_0/core/apr/apr-1.4.5-r1.smage2
Parent Directory | Revision Log
Revision 2712 -
(show annotations)
(download)
Fri Aug 5 10:19:04 2011 UTC (13 years, 1 month ago) by niro
File size: 768 byte(s)
Fri Aug 5 10:19:04 2011 UTC (13 years, 1 month ago) by niro
File size: 768 byte(s)
-ver bump to 1.4.5-r1
1 | # $Id$ |
2 | |
3 | PNAME="apr" |
4 | PVER="1.4.5" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="dev-libs" |
8 | |
9 | DESCRIPTION="APR - Apache Portable Runtime library." |
10 | HOMEPAGE="http://apr.apache.org/" |
11 | |
12 | DEPEND="" |
13 | |
14 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | sminclude mbuild alx |
18 | |
19 | SRC_URI=( |
20 | http://archive.apache.org/dist/${PNAME}/${SRCFILE} |
21 | mirror://${PNAME}/${SRCFILE} |
22 | ) |
23 | |
24 | UP2DATE="updatecmd http://archive.apache.org/dist/${PNAME}/ | grep ${PNAME}-[0-9] | lasttarball" |
25 | |
26 | src_compile() |
27 | { |
28 | cd ${SRCDIR} |
29 | |
30 | mconfigure \ |
31 | --datadir=/usr/share/apr-${PVER:0:1} \ |
32 | --includedir=/usr/include/apr-${PVER:0:1} \ |
33 | --with-installbuilddir=/usr/$(mlibdir)/apr-${PVER:0:1}/build \ |
34 | --with-devrandom=/dev/urandom \ |
35 | --enable-threads \ |
36 | --enable-nonportable-atomics \ |
37 | || die |
38 | |
39 | mmake || die |
40 | } |