2019-05-18 16:06:11 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-static \
|
|
|
|
--enable-shared \
|
2019-07-13 07:15:56 +00:00
|
|
|
--disable-nls \
|
2019-05-18 16:06:11 +00:00
|
|
|
ac_cv_func_malloc_0_nonnull=yes \
|
|
|
|
ac_cv_func_realloc_0_nonnull=yes
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$1" install
|
2019-06-18 08:48:13 +00:00
|
|
|
|
2019-09-16 10:19:05 +00:00
|
|
|
# Remove unneeded files.
|
2019-06-18 08:48:13 +00:00
|
|
|
rm -rf "$1/usr/share/info"
|
2019-08-11 18:03:12 +00:00
|
|
|
rm -rf "$1/usr/share/doc"
|