summaryrefslogtreecommitdiff
path: root/repo/devel/bc/bc.xibuild
blob: ffe43a550822095cb17e15a8828a0369c062a227 (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=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
}