Install all packages via DESTDIR var and not prefix.
This removes many assignments that were needed before, and fixes some packages to install its manpage/info files. --HG-- extra : convert_revision : 5422f921ef81d089ed95ce0c52e5106ea10b2165
This commit is contained in:
parent
d143a6ed7e
commit
3667f039f2
48 changed files with 68 additions and 97 deletions
|
@ -48,6 +48,9 @@ install_src_phase()
|
|||
|
||||
cd $wrksrc || exit 1
|
||||
|
||||
# Run pre_install func.
|
||||
run_func pre_install
|
||||
|
||||
msg_normal "Running install phase for $pkgname-$version."
|
||||
|
||||
# cross compilation vars.
|
||||
|
@ -62,9 +65,7 @@ install_src_phase()
|
|||
make_install
|
||||
fi
|
||||
|
||||
#
|
||||
# Run post_install helpers.
|
||||
#
|
||||
# Run post_install func.
|
||||
run_func post_install
|
||||
|
||||
# unset cross compiler vars.
|
||||
|
@ -115,8 +116,7 @@ install_src_phase()
|
|||
make_install()
|
||||
{
|
||||
if [ -z "$make_install_target" ]; then
|
||||
make_install_target="install prefix=${DESTDIR}/usr"
|
||||
make_install_target="$make_install_target sysconfdir=${DESTDIR}/etc"
|
||||
make_install_target="DESTDIR=${DESTDIR} install"
|
||||
fi
|
||||
|
||||
[ -z "$make_cmd" ] && make_cmd=/usr/bin/make
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue