Add support for DESTDIR variable in make install.

This commit is contained in:
Andrius Štikonas 2021-04-02 12:24:40 +01:00
parent dcec416d0f
commit 70d1fc4163
60 changed files with 147 additions and 163 deletions

View file

@ -21,10 +21,10 @@ src_compile() {
}
src_install() {
make install MAKEINFO=true
make install MAKEINFO=true DESTDIR="${DESTDIR}"
ln -sf "${PREFIX}/bin/autoconf-2.61" "${PREFIX}/bin/autoconf"
ln -sf "${PREFIX}/bin/autoheader-2.61" "${PREFIX}/bin/autoheader"
ln -sf "${PREFIX}/bin/autom4te-2.61" "${PREFIX}/bin/autom4te"
ln -sf "${PREFIX}/bin/autoreconf-2.61" "${PREFIX}/bin/autoreconf"
ln -sf "${PREFIX}/bin/autoconf-2.61" "${DESTDIR}${PREFIX}/bin/autoconf"
ln -sf "${PREFIX}/bin/autoheader-2.61" "${DESTDIR}${PREFIX}/bin/autoheader"
ln -sf "${PREFIX}/bin/autom4te-2.61" "${DESTDIR}${PREFIX}/bin/autom4te"
ln -sf "${PREFIX}/bin/autoreconf-2.61" "${DESTDIR}${PREFIX}/bin/autoreconf"
}

View file

@ -20,5 +20,5 @@ src_compile() {
}
src_install() {
make install MAKEINFO=true
make install MAKEINFO=true DESTDIR="${DESTDIR}"
}