19 lines
425 B
Text
19 lines
425 B
Text
#
|
|
# $Id$
|
|
#
|
|
PKG="bc"
|
|
PKG_VERSION="1.06"
|
|
PKG_FILE="bc-1.06.tar.gz"
|
|
URL="http://ftp.gnu.org/gnu/bc/${PKG_FILE}"
|
|
MD5="d44b5dddebd8a7a7309aea6c36fda117"
|
|
|
|
( cat << "xEOFx"
|
|
sed -i '/PROTO.*readline/d' bc/scan.l &&
|
|
sed -i '/flex -I8/s/8//' configure &&
|
|
sed -i '/stdlib/a #include <string.h>' lib/number.c &&
|
|
sed -i 's/program.*save/static &/' bc/load.c &&
|
|
./configure --prefix=/usr --with-readline &&
|
|
make
|
|
make install
|
|
xEOFx
|
|
) > tmp
|