2019-06-02 01:00:13 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2020-03-03 17:56:35 -07:00
|
|
|
export CFLAGS="$CFLAGS -fPIC"
|
|
|
|
|
|
|
|
patch -p1 < git-tiny.patch
|
|
|
|
|
2019-09-07 10:51:37 -06:00
|
|
|
cat > config.mak <<EOF
|
|
|
|
NO_GETTEXT=YesPlease
|
|
|
|
NO_SVN_TESTS=YesPlease
|
|
|
|
NO_TCLTK=YesPlease
|
|
|
|
NO_EXPAT=YesPlease
|
|
|
|
NO_NSEC=YesPlease
|
|
|
|
NO_PYTHON=YesPlease
|
2020-03-03 17:56:35 -07:00
|
|
|
NO_PERL=YesPlease
|
|
|
|
NO_SVN_TESTS=YesPlease
|
2019-09-07 10:51:37 -06:00
|
|
|
NO_SYS_POLL_H=1
|
|
|
|
NO_CROSS_DIRECTORY_HARDLINKS=1
|
|
|
|
NO_INSTALL_HARDLINKS=1
|
|
|
|
EOF
|
|
|
|
|
2019-06-18 06:17:49 -06:00
|
|
|
./configure \
|
2019-09-07 10:00:30 -06:00
|
|
|
--prefix=/usr \
|
2020-05-08 02:38:45 -06:00
|
|
|
--libexecdir=/usr/lib \
|
2019-09-07 10:00:30 -06:00
|
|
|
ac_cv_snprintf_returns_bogus=no \
|
2019-09-07 10:51:37 -06:00
|
|
|
ac_cv_fread_reads_directories=yes
|
2019-06-02 01:00:13 -06:00
|
|
|
|
|
|
|
make
|
2019-09-07 10:51:37 -06:00
|
|
|
make DESTDIR="$1" install
|
2020-04-26 23:48:02 -06:00
|
|
|
|
|
|
|
cp -rf man "$1/usr/share/man"
|