Install heirloom-devtools utility files to /usr/lib

Before they were just in / for no real reason
This commit is contained in:
fosslinux 2023-11-28 13:37:13 +11:00
parent ab47483a51
commit ac4a8c7e79
2 changed files with 4 additions and 7 deletions

View File

@ -23,5 +23,4 @@ src_install() {
# Remove yacc, we won't need it any longer
rm "${PREFIX}/bin/yacc"
rm /yaccpar
}

View File

@ -14,8 +14,6 @@ sha256sum -c sources.SHA256SUM
mkdir build src
cd build
lexdir=/lex
# Extract
cp ${DISTFILES}/${pkg}.tar.bz2 ../src/
bunzip2 -f ../src/${pkg}.tar.bz2
@ -40,10 +38,10 @@ cd ../lex
make -f Makefile.mk CC=tcc AR=tcc\ -ar CFLAGS=-DEILSEQ=84\ -DMB_LEN_MAX=100 LDFLAGS=-lgetopt\ -static RANLIB=true
# Install lex
mkdir ${LEXDIR}
mkdir ${LIBDIR}/lex
install lex ${BINDIR}
install libl.a ${LIBDIR}
install -m 644 ncform ${LEXDIR}
install -m 644 ncform ${LIBDIR}/lex
cd ../../..
@ -53,8 +51,8 @@ if match x${UPDATE_CHECKSUMS} xTrue; then
/usr/bin/yacc \
/usr/bin/lex \
/usr/lib/mes/libl.a \
/yaccpar \
/lex/ncform
/usr/lib/mes/yaccpar \
/usr/lib/mes/lex/ncform
install ${pkg}.checksums ${SRCDIR}
else