diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
commit | 003727289cc45e29eff0c0c48ad0f9660f96644f (patch) | |
tree | 0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/devel/bc.xibuild | |
parent | d2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff) |
separated patch, build, check and package stages
Diffstat (limited to 'repo/devel/bc.xibuild')
-rw-r--r-- | repo/devel/bc.xibuild | 11 |
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 +} |