VERSION="R_2_2_5" SRCDIR="libexpat-${VERSION}/expat" TARBALL="${VERSION}.tar.gz" URL="https://github.com/libexpat/libexpat/archive" SHA256SUM="b3781742738611eaa737543ee94264dd511c52a3ba7e53111f7d705f6bff65a8" DEPENDS="libbsd" prepare() { autoreconf --force --install --symlink } build() { $1/configure --prefix="" --host="$TARGET" --disable-static \ --without-xmlwf --with-libbsd make -j $NUMJOBS } deploy() { local SOURCE="$1" local DEPLOY="$2" local DEVDEPLOY="$3" make DESTDIR="$DEPLOY" install-strip rm -r "$DEPLOY/share" split_dev_deploy "$DEPLOY" "$DEVDEPLOY" }