Update neXtaw buildfile.

This commit is contained in:
Mid Favila 2021-06-30 22:31:58 +00:00
parent d606b71a50
commit 71fc84c719

View File

@ -6,3 +6,15 @@
make
make DESTDIR="$1" install
install -Dm644 nextaw.pc "$1/usr/lib/pkgconfig/nextaw.pc"
for file in libXaw.so libXaw.so.7 libXaw.so.7.0.0.1 libXaw3d.so libXaw3d.so.8 libXaw3d.so.8.0.0.1
do ln -s /usr/lib/libneXtaw.so "$1/usr/lib/$file"
done
for dir in Xaw Xaw3d
do ln -s /usr/include/X11/neXtaw "$1/usr/include/X11/$dir"
done
for pc in xaw7.pc xaw3d.pc
do ln -s /usr/lib/pkgconfig/nextaw.pc "$1/usr/lib/pkgconfig/$file"
done