blob: ed3f319247108c007cd55eb745e5ad414d2ce0ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
MAKEDEPS="make "
DEPS="readline"
PKG_VER=6.0.3
SOURCE=https://github.com/gavinhoward/bc/releases/download/$PKG_VER/bc-$PKG_VER.tar.xz
DESC="An arbitrary precision numeric processing language"
build () {
CC=gcc ./configure --prefix=/usr -G -O3
make
}
check () {
make test
}
package () {
make DESTDIR=$PKG_DEST install
}
|