Annotation of /smage/branches/branch_0.9.0/libxml2/libxml2-2.6.31-r1.smage2
Parent Directory | Revision Log
Revision 4 -
(hide annotations)
(download)
Sun Jan 11 00:50:17 2009 UTC (15 years, 5 months ago) by niro
File size: 841 byte(s)
Sun Jan 11 00:50:17 2009 UTC (15 years, 5 months ago) by niro
File size: 841 byte(s)
"copied"
1 | niro | 3 | # $Header: /alx-cvs/smage-eglibc/libxml2/libxml2-2.6.31-r1.smage2,v 1.2 2008/06/06 15:41:56 niro Exp $ |
2 | |||
3 | PNAME="libxml2" | ||
4 | PVER="2.6.31" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="dev-libs" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="Libxml2 is the XML C parser and toolkit developed for the Gnome project." | ||
11 | HOMEPAGE="http://xmlsoft.org/" | ||
12 | |||
13 | DEPEND=">= sys-libs/zlib-1.2.3" | ||
14 | SDEPEND=">= dev-lang/python-2.5" | ||
15 | |||
16 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
18 | |||
19 | sminclude multilib alx | ||
20 | |||
21 | SRC_URI=( | ||
22 | ftp://xmlsoft.org/${PNAME}/${SRCFILE} | ||
23 | mirror://${PNAME}/${SRCFILE} | ||
24 | ) | ||
25 | |||
26 | src_compile() | ||
27 | { | ||
28 | # build 32bit libs without python on multilib systems | ||
29 | if [[ $(mlibdir) != lib ]] | ||
30 | then | ||
31 | only-m32 mconfigure --with-zlib --without-python || die | ||
32 | only-m64 mconfigure --with-zlib --with-python || die | ||
33 | else | ||
34 | mconfigure --with-zlib --with-python || die | ||
35 | fi | ||
36 | mmake || die | ||
37 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |