source: custom/examples/950-bc@ 2ce3688

2.4 ablfs-more legacy new_features trunk
Last change on this file since 2ce3688 was dcf0e25, checked in by George Boudreau <georgeb@…>, 18 years ago

bug hunt in custom package examples

  • Property mode set to 100644
File size: 468 bytes
RevLine 
[93d32cf]1#
2# $Id$
3#
[9a536f7]4PKG="bc"
5PKG_VERSION="1.06"
6PKG_FILE="bc-1.06.tar.gz"
7URL="http://ftp.gnu.org/gnu/bc/${PKG_FILE}"
8MD5="d44b5dddebd8a7a7309aea6c36fda117"
[dcf0e25]9for i in PATCH{1..10}; do
10 unset $i
11done
[9a536f7]12
13( cat << "xEOFx"
14sed -i '/PROTO.*readline/d' bc/scan.l &&
15sed -i '/flex -I8/s/8//' configure &&
16sed -i '/stdlib/a #include <string.h>' lib/number.c &&
17sed -i 's/program.*save/static &/' bc/load.c &&
18./configure --prefix=/usr --with-readline &&
19make
20make install
21xEOFx
22) > tmp
Note: See TracBrowser for help on using the repository browser.