2.3
2.3.x
2.4
ablfs
ablfs-more
legacy
new_features
trunk
Last change
on this file since 1d4eebf 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 | #
|
---|
4 | PKG="bc"
|
---|
5 | PKG_VERSION="1.06"
|
---|
6 | PKG_FILE="bc-1.06.tar.gz"
|
---|
7 | URL="http://ftp.gnu.org/gnu/bc/${PKG_FILE}"
|
---|
8 | MD5="d44b5dddebd8a7a7309aea6c36fda117"
|
---|
9 | for i in PATCH{1..10}; do
|
---|
10 | unset $i
|
---|
11 | done
|
---|
12 |
|
---|
13 | ( cat << "xEOFx"
|
---|
14 | sed -i '/PROTO.*readline/d' bc/scan.l &&
|
---|
15 | sed -i '/flex -I8/s/8//' configure &&
|
---|
16 | sed -i '/stdlib/a #include <string.h>' lib/number.c &&
|
---|
17 | sed -i 's/program.*save/static &/' bc/load.c &&
|
---|
18 | ./configure --prefix=/usr --with-readline &&
|
---|
19 | make
|
---|
20 | make install
|
---|
21 | xEOFx
|
---|
22 | ) > tmp
|
---|
Note:
See
TracBrowser
for help on using the repository browser.