blob: de302737839b9d921705a62156d51ff0b6d76264 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#
# set -o errexit -o noglob are assumed.
#
pkg_apr_install_make_post() {
sed -e 's,echo "\$APR_BUILD_DIR/libtool",echo '"${PREFIX}"'/bin/slibtool,' \
-e 's,echo "\${installbuilddir}/libtool",echo '"${PREFIX}"'/bin/slibtool,' \
-e 's,flags="\$flags -I\$includedir \$EXTRA_INCLUDES",flags="-I'"${PKG_PREFIX}"'/include/apr-1",' \
"${PWD}/../destdir/bin/apr-1-config" > "${PWD}/../destdir/bin/${PKG_TARGET}-apr-1-config";
chmod +x "${PWD}/../destdir/bin/${PKG_TARGET}-apr-1-config";
};
# vim:filetype=sh
|