Built bc
This commit is contained in:
parent
fe29305d05
commit
ae121bdfc1
@ -8,7 +8,7 @@ Definitions:
|
||||
| ----------------- | ---------- | ------------ |
|
||||
| `autoconf` | Yes | Yes |
|
||||
| `automake` | Yes | Yes |
|
||||
| `bc` |
|
||||
| `bc` | Yes | Yes |
|
||||
| `byacc` | Yes | Yes |
|
||||
| `bzip2` | Yes | Yes |
|
||||
| `chrony` |
|
||||
@ -55,7 +55,6 @@ Definitions:
|
||||
| `sed` | Yes | Yes |
|
||||
| `shadow` |
|
||||
| `tar` | Yes | Yes |
|
||||
| `texinfo` |
|
||||
| `xlibre-xserver` |
|
||||
| `xz` | Yes | Yes |
|
||||
| `zlib` | Yes | Yes |
|
||||
|
||||
@ -242,6 +242,7 @@ export TT_DIR=$BOOTSTRAP/root/maple/.treetap
|
||||
SOURCES=(
|
||||
autoconf
|
||||
automake
|
||||
bc
|
||||
byacc
|
||||
bzip2
|
||||
cmake
|
||||
@ -250,6 +251,7 @@ SOURCES=(
|
||||
diffutils
|
||||
findutils
|
||||
flex
|
||||
fortune-mod
|
||||
grep
|
||||
groff
|
||||
gzip
|
||||
|
||||
@ -37,7 +37,7 @@ echo "Done!"
|
||||
# NOTE: libelf requires zlib to build. ~ahill
|
||||
# NOTE: fortune-mod requires cmake to build. ~ahill
|
||||
cd /maple
|
||||
LAYER0="byacc bzip2 coreutils diffutils findutils grep gzip libressl m4 make mawk muon musl patch perl pkgconf sed tar xz zlib"
|
||||
LAYER0="bc byacc bzip2 coreutils diffutils findutils grep gzip libressl m4 make mawk muon musl patch perl pkgconf sed tar xz zlib"
|
||||
LAYER1="autoconf automake flex groff libarchive libelf libtool"
|
||||
LAYER2="dash nasm cmake fortune-mod"
|
||||
PACKAGES="$LAYER0 $LAYER1 $LAYER2"
|
||||
|
||||
21
sources/bc/bc.spec
Normal file
21
sources/bc/bc.spec
Normal file
@ -0,0 +1,21 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_HASH="ae470fec429775653e042015edc928d07c8c3b2fc59765172a330d3d87785f86"
|
||||
SRC_NAME="bc"
|
||||
SRC_URL="https://ftp.gnu.org/gnu/bc/bc-1.08.2.tar.gz"
|
||||
SRC_VERSION="1.08.2"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd bc-$SRC_VERSION/
|
||||
./configure $TT_AUTOCONF_COMMON
|
||||
# NOTE: We are setting MAKEINFO to true here because it is impossible to
|
||||
# build bc without Texinfo otherwise. Texinfo is not used by any other
|
||||
# package on Maple Linux, so it doesn't make sense to include it for
|
||||
# the sole purpose of building bc. ~ahill
|
||||
make -O -j $TT_PROCS MAKEINFO=true
|
||||
}
|
||||
|
||||
package() {
|
||||
cd bc-$SRC_VERSION/
|
||||
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR MAKEINFO=true
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user