Built bc
This commit is contained in:
parent
fe29305d05
commit
ae121bdfc1
@ -8,7 +8,7 @@ Definitions:
|
|||||||
| ----------------- | ---------- | ------------ |
|
| ----------------- | ---------- | ------------ |
|
||||||
| `autoconf` | Yes | Yes |
|
| `autoconf` | Yes | Yes |
|
||||||
| `automake` | Yes | Yes |
|
| `automake` | Yes | Yes |
|
||||||
| `bc` |
|
| `bc` | Yes | Yes |
|
||||||
| `byacc` | Yes | Yes |
|
| `byacc` | Yes | Yes |
|
||||||
| `bzip2` | Yes | Yes |
|
| `bzip2` | Yes | Yes |
|
||||||
| `chrony` |
|
| `chrony` |
|
||||||
@ -55,7 +55,6 @@ Definitions:
|
|||||||
| `sed` | Yes | Yes |
|
| `sed` | Yes | Yes |
|
||||||
| `shadow` |
|
| `shadow` |
|
||||||
| `tar` | Yes | Yes |
|
| `tar` | Yes | Yes |
|
||||||
| `texinfo` |
|
|
||||||
| `xlibre-xserver` |
|
| `xlibre-xserver` |
|
||||||
| `xz` | Yes | Yes |
|
| `xz` | Yes | Yes |
|
||||||
| `zlib` | Yes | Yes |
|
| `zlib` | Yes | Yes |
|
||||||
|
|||||||
@ -242,6 +242,7 @@ export TT_DIR=$BOOTSTRAP/root/maple/.treetap
|
|||||||
SOURCES=(
|
SOURCES=(
|
||||||
autoconf
|
autoconf
|
||||||
automake
|
automake
|
||||||
|
bc
|
||||||
byacc
|
byacc
|
||||||
bzip2
|
bzip2
|
||||||
cmake
|
cmake
|
||||||
@ -250,6 +251,7 @@ SOURCES=(
|
|||||||
diffutils
|
diffutils
|
||||||
findutils
|
findutils
|
||||||
flex
|
flex
|
||||||
|
fortune-mod
|
||||||
grep
|
grep
|
||||||
groff
|
groff
|
||||||
gzip
|
gzip
|
||||||
|
|||||||
@ -37,7 +37,7 @@ echo "Done!"
|
|||||||
# NOTE: libelf requires zlib to build. ~ahill
|
# NOTE: libelf requires zlib to build. ~ahill
|
||||||
# NOTE: fortune-mod requires cmake to build. ~ahill
|
# NOTE: fortune-mod requires cmake to build. ~ahill
|
||||||
cd /maple
|
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"
|
LAYER1="autoconf automake flex groff libarchive libelf libtool"
|
||||||
LAYER2="dash nasm cmake fortune-mod"
|
LAYER2="dash nasm cmake fortune-mod"
|
||||||
PACKAGES="$LAYER0 $LAYER1 $LAYER2"
|
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