blob: 7c47e95947ebe6016791b3f960ea8d8380d9fbf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
MAKEDEPS="make "
DEPS="musl"
PKG_VER=2.4.8
SOURCE=https://github.com/libexpat/libexpat/releases/download/R_$(echo $PKG_VER | sed "s|\.|_|g")/expat-$PKG_VER.tar.xz
DESC="An XML parser library"
build () {
./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/expat-$PKG_VER
make
}
check () {
make check
}
package () {
make DESTDIR=$PKG_DEST install
install -m644 doc/* $PKG_DEST/usr/share/doc/expat-$PKG_VER
}
|