source: custom/examples/950-bc@ 6dc325f

experimental
Last change on this file since 6dc325f was 42e1b38, checked in by George Boudreau <georgeb@…>, 18 years ago

Add code for user defined scripts. User scripts added at the end of the final build (LFS only)

  • Property mode set to 100644
File size: 414 bytes
Line 
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.