Magellan Linux

Annotation of /smage/branches/alx07x-unstable/core/apr-util/apr-util-1.6.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14241 - (hide annotations) (download)
Mon Jul 6 19:31:43 2020 UTC (3 years, 10 months ago) by niro
Original Path: smage/trunk/core/apr-util/apr-util-1.6.1-r2.smage2
File size: 1032 byte(s)
auto added: ver bump to 1.6.1-r2
1 niro 14241 # $Id$
2    
3     PNAME="apr-util"
4     PVER="1.6.1"
5     PBUILD="r2"
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     DEPEND=">= dev-libs/expat-dev-2
18     >= dev-libs/apr-${PVER}
19     >= dev-db/db-dev-6.2
20     >= sys-libs/libuuid-dev-2.35"
21    
22     SRCFILE="${PNAME}-${PVER}.tar.bz2"
23     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
24    
25     sminclude mbuild
26    
27     SRC_URI=(
28     http://archive.apache.org/dist/apr/${SRCFILE}
29     mirror://${PNAME}/${SRCFILE}
30     )
31    
32     UP2DATE="updatecmd 'http://archive.apache.org/dist/apr/?C=M;O=A' | grep ${PNAME}-[0-9] | lasttarball"
33    
34     src_compile()
35     {
36     cd ${SRCDIR}
37    
38     mconfigure \
39     --datadir=/usr/share/${PNAME}-${PVER:0:1} \
40     --includedir=/usr/include/apr-${PVER:0:1} \
41     --with-apr=/usr \
42     --with-expat=/usr \
43     --with-dbm=db \
44     --with-berkeley-db \
45     --without-odbc \
46     --without-gdbm \
47     --without-mysql \
48     --without-pgsql \
49     --without-sqlite2 \
50     --without-sqlite3 \
51     || die
52    
53     mmake || die
54     }