2019-06-27 06:10:39 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
CFLAGS_FOR_BUILD=-fPIC \
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2020-03-17 12:05:04 +00:00
|
|
|
--without-xmlto \
|
|
|
|
--disable-specs \
|
2021-07-06 11:52:16 +00:00
|
|
|
--disable-static
|
2019-06-27 06:10:39 +00:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$1" install
|
2019-10-10 06:25:39 +00:00
|
|
|
|
2021-07-06 11:41:12 +00:00
|
|
|
# Conflicts with xorgproto.
|
2019-10-10 06:25:39 +00:00
|
|
|
rm -f "$1/usr/include/X11/extensions/XKBgeom.h"
|
2021-07-06 11:41:12 +00:00
|
|
|
|
|
|
|
# Remove library documentation.
|
|
|
|
rm -rf "$1/usr/share/man/man3"
|