33 lines
727 B
Text
33 lines
727 B
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=bc
|
|
version=1.2.5
|
|
build=1sml
|
|
homepage="https://github.com/gavinhoward/bc"
|
|
download="https://github.com/gavinhoward/bc/releases/download/$version/bc-$version.tar.xz"
|
|
desc="Arbitrary precision numeric processing language"
|
|
requires="musl"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z**
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
PREFIX=/usr \
|
|
./configure.sh -EHNG \
|
|
|
|
make all
|
|
make install DESTDIR=$pkg
|
|
|
|
cp LICENSE.md $pkgdocs
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
3e3f56daf1ec3622ef59de067a6497637d09adcec862eb1f90ea1fb901b113e072c1c2b7473fbb6cbff8e340db22bfe041d43b9e83e6b1bb55bf1f5a2bc40d52 bc-1.2.5.tar.lz
|
|
"
|