source: custom/examples/950-bc@ 9a536f7

2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since 9a536f7 was 9a536f7, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Merged cunstomization code from experimental branch.
Let trunk to be broken for a while...

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