new: more package migrations
This commit is contained in:
3
src/bc/.gitignore
vendored
Normal file
3
src/bc/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/bc/changes.md
Normal file
2
src/bc/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 6.7.5
|
||||
First version
|
23
src/bc/pkg.sh
Normal file
23
src/bc/pkg.sh
Normal file
@ -0,0 +1,23 @@
|
||||
# general info
|
||||
NAME="bc"
|
||||
DESC="Arbitrary precision numeric processing language"
|
||||
VERSION="6.7.5"
|
||||
|
||||
# required files
|
||||
FILES=("https://github.com/gavinhoward/bc/releases/download/${VERSION}/bc-${VERSION}.tar.xz")
|
||||
HASHES=("e249b1f86f886d6fb71c15f72b65dd3d")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=("readline")
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.xz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
CC=gcc ./configure --prefix=/usr -G -O3 -r
|
||||
make && make test
|
||||
make DESTDIR="${ROOTDIR}" install
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
Reference in New Issue
Block a user