development/bed: Remove some cruft.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2022-04-04 22:36:53 -04:00
parent 9367f773b6
commit ad074d7b36

View file

@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20220404 bkw: BUILD=3, remove more cruft.
# 20200111 bkw: Upstream site has expired and gone to meet its maker.
# 20191225 bkw: BUILD=2
# - fix builds with optional re2 dep, document optional hyperscan dep.
@ -15,7 +16,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=bed
VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -80,6 +81,9 @@ sed -i 's,static *string,static std::string,' src/re2search.cpp
# 20220205 bkw: C++ standards OCD...
sed -i 's,getret>0,getret,' src/readhelp.cpp
# 20220404 bkw: wtf, upstream? you included compiled binaries in the source.
rm -f src/mkpartypes regex-*/regtest
# Not sure the --without-x does anything, but it doesn't hurt either.
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@ -158,6 +162,9 @@ rm -f $PKGBEDLIB/bedmagic.short $PKGBEDLIB/addmagic
# Don't want this (use removepkg instead):
rm -f $PKGBEDLIB/uninstallbed.sh
# 20220404 bkw: this looks utterly useless.
rm -f $PKGBEDLIB/plugins/examples/disass-use
# There's still some cruft in $PKGBEDLIB (e.g. sources for the plugins),
# but it's stuff that could be considered documentation so I'll leave it.