Magellan Linux

Contents of /smage/trunk/core/apr-util/apr-util-1.6.1-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15503 - (show annotations) (download)
Mon Sep 7 12:17:22 2020 UTC (3 years, 7 months ago) by niro
File size: 1001 byte(s)
-fixed dependencies
1 # $Id$
2
3 PNAME="apr-util"
4 PVER="1.6.1"
5 PBUILD="r3"
6
7 PCAT="dev-libs"
8
9 DESCRIPTION="APR-Util - Apache Portable Runtime Utility library."
10 HOMEPAGE="http://apr.apache.org/"
11
12 DEPEND=">= dev-libs/expat-2
13 >= dev-libs/apr-${PVER}
14 >= dev-db/db-6.2
15 >= sys-libs/libuuid-2.35"
16
17 SDEPEND=">= dev-libs/expat-dev-2
18 >= dev-db/db-dev-6.2
19 >= sys-libs/libuuid-dev-2.35"
20
21 SRCFILE="${PNAME}-${PVER}.tar.bz2"
22 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23
24 sminclude mbuild
25
26 SRC_URI=(
27 http://archive.apache.org/dist/apr/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2DATE="updatecmd http://archive.apache.org/dist/apr/ | grep ${PNAME}-[0-9] | highesttarball"
32
33 src_compile()
34 {
35 cd ${SRCDIR}
36
37 mconfigure \
38 --datadir=/usr/share/${PNAME}-${PVER:0:1} \
39 --includedir=/usr/include/apr-${PVER:0:1} \
40 --with-apr=/usr \
41 --with-expat=/usr \
42 --with-dbm=db \
43 --with-berkeley-db \
44 --without-odbc \
45 --without-gdbm \
46 --without-mysql \
47 --without-pgsql \
48 --without-sqlite2 \
49 --without-sqlite3 \
50 || die
51
52 mmake || die
53 }