#
# set -o errexit -o noglob are assumed.
#

pkg_cparser_configure_pre() {
	export CFLAGS_PATH="-I${PKG_DESTDIR}/include";
	export LDFLAGS_PATH="-L${PKG_DESTDIR}/lib";
};

pkg_libfirm_install_make() {
	make ${PKG_MAKEFLAGS_BUILD} DESTDIR="${PKG_DESTDIR}" install;
};

pkg_cparser_install_make() {
	make ${PKG_MAKEFLAGS_BUILD} DESTDIR="${PKG_DESTDIR}" install;
};

# vim:filetype=sh