11 |
HOMEPAGE="http://xmlsoft.org/" |
HOMEPAGE="http://xmlsoft.org/" |
12 |
|
|
13 |
DEPEND=">= sys-libs/zlib-1.2.5" |
DEPEND=">= sys-libs/zlib-1.2.5" |
|
SDEPEND=">= dev-lang/python-2.7" |
|
14 |
|
|
15 |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
26 |
|
|
27 |
src_compile() |
src_compile() |
28 |
{ |
{ |
29 |
# build 32bit libs without python on multilib systems |
mconfigure --with-zlib --without-python || die |
|
if [[ $(mlibdir) != lib ]] |
|
|
then |
|
|
only-m32 mconfigure --with-zlib --without-python || die |
|
|
only-m64 mconfigure --with-zlib --with-python=/usr/bin/python$(get_python_version) || die |
|
|
else |
|
|
mconfigure --with-zlib --with-python=/usr/bin/python$(get_python_version) || die |
|
|
fi |
|
30 |
mmake || die |
mmake || die |
31 |
} |
} |
32 |
|
|