2012-11-21 18:12:43 +01:00
|
|
|
# Description: XML library version 2
|
2014-10-18 13:57:32 +02:00
|
|
|
# URL: http://xmlsoft.org/
|
2013-02-01 15:54:23 +01:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2014-10-18 13:57:32 +02:00
|
|
|
# Depends on: zlib-32 xz-32 libxml2
|
2012-11-21 18:12:43 +01:00
|
|
|
|
|
|
|
name=libxml2-32
|
2017-06-19 17:46:31 +02:00
|
|
|
version=2.9.4.83
|
2012-11-21 18:12:43 +01:00
|
|
|
release=1
|
2017-06-17 09:39:44 +02:00
|
|
|
#source=(ftp://xmlsoft.org/libxml2/${name%-*}-$version.tar.gz)
|
|
|
|
source=(http://crux.s3.amazonaws.com/dist/${name%-*}-$version.tar.xz)
|
2012-11-21 18:12:43 +01:00
|
|
|
|
2014-10-18 13:57:32 +02:00
|
|
|
build() {
|
2017-06-17 09:39:44 +02:00
|
|
|
cd ${name%-*}-$version
|
2012-11-21 18:12:43 +01:00
|
|
|
|
2014-10-18 13:57:32 +02:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2012-11-21 18:12:43 +01:00
|
|
|
--libdir=/usr/lib32 \
|
2014-10-18 13:57:32 +02:00
|
|
|
--without-python
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2015-11-21 03:10:45 +01:00
|
|
|
|
2016-05-28 07:31:35 +02:00
|
|
|
rm -r $PKG/usr/{bin,include,share/man,share}
|
2012-11-21 18:12:43 +01:00
|
|
|
}
|