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