blob: 74b461b3d1bfe1c6858fbe86fba78f0a82a384ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
MAKEDEPS=(make )
DEPS=(readline)
PKG_VER=5.2.1
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
}
|