summaryrefslogtreecommitdiff
path: root/repo/devel/bc.xibuild
blob: 76231c68e876c276fcfa307ceebb53a7de7a31db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

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
}