Annotation of /trunk/core/libxml2/libxml2-2.7.2-r1.smage2
Parent Directory | Revision Log
Revision 223 -
(hide annotations)
(download)
Wed Oct 15 18:25:32 2008 UTC (15 years, 7 months ago) by niro
File size: 1246 byte(s)
Wed Oct 15 18:25:32 2008 UTC (15 years, 7 months ago) by niro
File size: 1246 byte(s)
-ver bump to 2.7.2-r1
1 | niro | 223 | # $Header: /magellan-cvs/smage/libxml2/libxml2-2.6.31-r1.smage2,v 1.1 2008/02/12 13:49:07 niro Exp $ |
2 | |||
3 | PNAME="libxml2" | ||
4 | PVER="2.7.2" | ||
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.6" | ||
15 | |||
16 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
18 | |||
19 | sminclude multilib | ||
20 | |||
21 | SRC_URI=( | ||
22 | ftp://xmlsoft.org/${PNAME}/${SRCFILE} | ||
23 | mirror://${PNAME}/${SRCFILE} | ||
24 | ) | ||
25 | |||
26 | UP2DATE="updatecmd ftp://xmlsoft.org/${PNAME} | grep LATEST_$(echo ${PNAME} | tr [:lower:] [:upper:])_IS | sed -n 's/.*_\([0-9].*\)/\1/g;$ p'" | ||
27 | |||
28 | src_compile() | ||
29 | { | ||
30 | # build 32bit libs without python on multilib systems | ||
31 | if [[ $(mlibdir) != lib ]] | ||
32 | then | ||
33 | only-m32 mconfigure --with-zlib --without-python || die | ||
34 | only-m64 mconfigure --with-zlib --with-python || die | ||
35 | else | ||
36 | mconfigure --with-zlib --with-python || die | ||
37 | fi | ||
38 | mmake || die | ||
39 | } | ||
40 | |||
41 | postinstall() | ||
42 | { | ||
43 | # create needed xml-catalog | ||
44 | CATALOG=${MROOT}/etc/xml/catalog | ||
45 | if [ ! -e ${CATALOG} ]; then | ||
46 | [ -d ${MROOT}/etc/xml ] || install -d ${MROOT}/etc/xml | ||
47 | ${MROOT}/usr/bin/xmlcatalog --create > ${CATALOG} | ||
48 | echo "Created XML catalog in ${CATALOG}" | ||
49 | fi | ||
50 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |