Fix various things to use ${DESTDIR}

This commit is contained in:
fosslinux 2022-01-14 21:53:30 +11:00
parent 016b9511d2
commit b8ef19150c
28 changed files with 46 additions and 36 deletions

View file

@ -20,7 +20,7 @@ src_install() {
mkdir -p "${DESTDIR}${PREFIX}"/share/automake-1.6/Automake
cp lib/Automake/*.pm "${DESTDIR}${PREFIX}"/share/automake-1.6/Automake/
install aclocal "${DESTDIR}${PREFIX}"/bin/aclocal-1.6
install -D aclocal "${DESTDIR}${PREFIX}"/bin/aclocal-1.6
mkdir -p "${DESTDIR}${PREFIX}"/share/aclocal-1.6
cp -r m4/*.m4 "${DESTDIR}${PREFIX}"/share/aclocal-1.6/
}

View file

@ -21,11 +21,13 @@ src_compile() {
}
src_install() {
install automake "${DESTDIR}${PREFIX}"/bin/automake-1.6
install -D automake "${DESTDIR}${PREFIX}"/bin/automake-1.6
mkdir -p "${DESTDIR}${PREFIX}"/share/automake-1.6/am
mkdir -p "${DESTDIR}${PREFIX}"/share/automake-1.6/Automake
cp lib/Automake/*.pm "${DESTDIR}${PREFIX}"/share/automake-1.6/Automake/
cp -r lib/am/*.am "${DESTDIR}${PREFIX}"/share/automake-1.6/am/
install aclocal "${DESTDIR}${PREFIX}"/bin/aclocal-1.6
install -D aclocal "${DESTDIR}${PREFIX}"/bin/aclocal-1.6
mkdir -p "${DESTDIR}${PREFIX}"/share/aclocal-1.6/
cp -r m4/*.m4 "${DESTDIR}${PREFIX}"/share/aclocal-1.6/
}