libtthimage/install.sh

25 lines
864 B
Bash
Raw Normal View History

2022-06-29 05:35:00 +11:00
#!/bin/bash
2022-09-22 03:22:32 +11:00
echo "XXXXXXX warning: $0 is an ugly installer"
2022-06-29 05:35:00 +11:00
2022-09-22 03:24:03 +11:00
DESTDIR="/usr/local"
2022-06-29 05:35:00 +11:00
install -d $DESTDIR/lib/
install -m 0644 libtthimage.a $DESTDIR/lib/libtthimage.a
install -m 0644 tthimage.h $DESTDIR/include/tthimage.h
2022-09-22 03:22:32 +11:00
cp -v Datas/8x8thin Datas/16x24thin $DESTDIR/share/libimage/
2022-09-22 03:24:03 +11:00
cp -v Datas/8x8std Datas/16x24gruik $DESTDIR/share/libimage/
2023-11-19 05:58:21 +11:00
cp -v Datas/*.map $DESTDIR/share/libimage/
2022-09-16 23:22:16 +11:00
2024-02-27 13:32:41 +11:00
liste="genplot2 tga_cadre tga_effects tga_filtres tga_remap tga_tools \
tga_combine tga_television tga_dither tga_applymap tga_makehf15 \
tga_mires tga_incrust tga_pattern tga_equalize tga_alpha \
2024-11-16 02:45:52 +11:00
tga_to_text tga_plotmap tga_resize tga_extract tga_2x2contrast \
tga_plothisto tga_export tga_fractales"
2022-06-29 05:35:00 +11:00
for binaire in $liste
do
2022-09-16 23:22:16 +11:00
install --strip Tools/$binaire $DESTDIR/bin/
2022-06-29 05:35:00 +11:00
done