blob: 96245e461599a51659936748ac60fa3665b57e9d (
plain)
1 # Description: A fast, non-validating, stream-oriented XML parsing library
2 # URL: https://libexpat.github.io/
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: expat
5
6 name=expat-32
7 version=2.2.4
8 release=1
9 source=(https://downloads.sourceforge.net/project/${name%-*}/${name%-*}/$version/${name%-*}-$version.tar.bz2)
10
11 build() {
12 cd ${name%-*}-$version
13
14 CONFIG_SHELL=/bin/bash \
15 ./configure \
16 --prefix=/usr \
17 --libdir=/usr/lib32
18
19 make
20 make DESTDIR=$PKG install
21
22 rm -r $PKG/usr/{bin,include,share/man,share/doc}
23 rmdir $PKG/usr/share
24 }
|