source: custom/examples/950-bc@ 52b0d10

2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since 52b0d10 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
Line 
1#
2# $Id$
3#
4PKG="bc"
5PKG_VERSION="1.06"
6PKG_FILE="bc-1.06.tar.gz"
7URL="http://ftp.gnu.org/gnu/bc/${PKG_FILE}"
8MD5="d44b5dddebd8a7a7309aea6c36fda117"
9for i in PATCH{1..10}; do
10 unset $i
11done
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.