new: more package migrations

This commit is contained in:
ngn
2024-07-20 22:52:09 +03:00
parent 983ddd9a38
commit e46f384f6c
69 changed files with 727 additions and 0 deletions

3
src/bc/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/bc/changes.md Normal file
View File

@ -0,0 +1,2 @@
# 6.7.5
First version

23
src/bc/pkg.sh Normal file
View 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}"
}