#!/bin/sh MAKEDEPS="make " DEPS="musl" PKG_VER=2.4.2 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 -v -m644 doc/*{.html,png,css} $PKG_DEST/usr/share/doc/expat-$PKG_VER }