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