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

experimental
Last change on this file since 9c9775f was 9c9775f, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Updated experimental branch to current trunk code.

  • Property mode set to 100644
File size: 468 bytes
RevLine 
[9c9775f]1#
2# $Id$
3#
[42e1b38]4PKG="bc"
5PKG_VERSION="1.06"
6PKG_FILE="bc-1.06.tar.gz"
7URL="http://ftp.gnu.org/gnu/bc/${PKG_FILE}"
8MD5="d44b5dddebd8a7a7309aea6c36fda117"
[9c9775f]9for i in PATCH{1..10}; do
10 unset $i
11done
[42e1b38]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.