ports: Add pre_install and post_install to install.sh
This commit is contained in:
parent
7314cf708c
commit
505388b9fa
|
@ -77,10 +77,22 @@ build() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre_install() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
|
pre_install
|
||||||
|
|
||||||
for target in "${MAKE_INSTALL_TARGETS[@]}"; do
|
for target in "${MAKE_INSTALL_TARGETS[@]}"; do
|
||||||
make $target "DESTDIR=$BANAN_SYSROOT" || exit 1
|
make $target "DESTDIR=$BANAN_SYSROOT" || exit 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
post_install
|
||||||
}
|
}
|
||||||
|
|
||||||
source $1
|
source $1
|
||||||
|
|
Loading…
Reference in New Issue