Magellan Linux

Annotation of /branches/R11-unstable/extras/apr-util/apr-util-1.6.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32874 - (hide annotations) (download)
Mon Apr 29 13:52:07 2019 UTC (5 years ago) by niro
File size: 940 byte(s)
-release branches/R11-unstable
1 niro 30100 # $Id$
2    
3     PNAME="apr-util"
4     PVER="1.6.1"
5     PBUILD="r1"
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-1.5.2
14     >= dev-db/db-6.2
15     >= dev-db/unixodbc-2.3
16     >= sys-libs/libuuid-2.25"
17    
18     SRCFILE="${PNAME}-${PVER}.tar.bz2"
19     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20    
21     sminclude mbuild
22    
23     SRC_URI=(
24     http://archive.apache.org/dist/apr/${SRCFILE}
25     mirror://${PNAME}/${SRCFILE}
26     )
27    
28     UP2DATE="updatecmd 'http://archive.apache.org/dist/apr/?C=M;O=A' | grep ${PNAME}-[0-9] | lasttarball"
29    
30     src_compile()
31     {
32     cd ${SRCDIR}
33    
34     mconfigure \
35     --datadir=/usr/share/${PNAME}-${PVER:0:1} \
36     --includedir=/usr/include/apr-${PVER:0:1} \
37     --with-apr=/usr \
38     --with-expat=/usr \
39     --with-dbm=db \
40     --with-berkeley-db \
41     --with-odbc \
42     --without-gdbm \
43     --without-mysql \
44     --without-pgsql \
45     --without-sqlite2 \
46     --without-sqlite3 \
47     || die
48    
49     mmake || die
50     }