2012-11-21 18:12:43 +01:00
|
|
|
# Description: A fast, non-validating, stream-oriented XML parsing library
|
2022-02-20 02:20:33 +01:00
|
|
|
# URL: https://libexpat.github.io/
|
2013-02-01 09:09:37 +01:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2012-11-21 18:12:43 +01:00
|
|
|
# Depends on: expat
|
|
|
|
|
|
|
|
name=expat-32
|
2022-10-28 19:51:38 +02:00
|
|
|
version=2.5.0
|
2012-11-21 18:12:43 +01:00
|
|
|
release=1
|
2017-07-15 13:21:48 +02:00
|
|
|
source=(https://downloads.sourceforge.net/project/${name%-*}/${name%-*}/$version/${name%-*}-$version.tar.bz2)
|
2012-11-21 18:12:43 +01:00
|
|
|
|
2022-01-11 13:07:44 +01:00
|
|
|
build() {
|
2017-07-15 13:21:48 +02:00
|
|
|
cd ${name%-*}-$version
|
2016-03-26 01:10:57 +01:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib32
|
|
|
|
|
|
|
|
make
|
2017-08-24 10:57:40 +02:00
|
|
|
make DESTDIR=$PKG install
|
2016-03-26 01:10:57 +01:00
|
|
|
|
2019-06-29 10:55:37 +02:00
|
|
|
rm -r $PKG/usr/{bin,include,share/doc}
|
2017-08-24 10:57:40 +02:00
|
|
|
rmdir $PKG/usr/share
|
2012-11-21 18:12:43 +01:00
|
|
|
}
|