summaryrefslogtreecommitdiff
path: root/repo/devel/bc.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/devel/bc.xibuild')
-rw-r--r--repo/devel/bc.xibuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/repo/devel/bc.xibuild b/repo/devel/bc.xibuild
index 160b6f5..76231c6 100644
--- a/repo/devel/bc.xibuild
+++ b/repo/devel/bc.xibuild
@@ -2,14 +2,19 @@
DEPS=(readline)
-SOURCE=https://github.com/gavinhoward/bc/releases/download/5.2.1/bc-5.2.1.tar.xz
+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
- make test
- make DESTDIR=$PKG_DEST install
}
+check () {
+ make test
+}
+package () {
+ make DESTDIR=$PKG_DEST install
+}