mirror of
https://linux.maple.camp/git/ahill/maplelinux-bootstrap.git
synced 2026-02-11 10:13:35 +00:00
Added byacc, editline, flex, m4, muon, and ncurses
...and updated treetap
This commit is contained in:
29
sources/byacc/byacc.spec
Normal file
29
sources/byacc/byacc.spec
Normal file
@@ -0,0 +1,29 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_HASH="192c2fae048d4e7f514ba451627f9c4e612765099f819c19191f9fde3e609673"
|
||||
SRC_NAME="byacc"
|
||||
SRC_URL="https://invisible-mirror.net/archives/byacc/byacc-20241231.tgz"
|
||||
SRC_VERSION="20241231"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd byacc-*/
|
||||
./configure $TT_AUTOCONF_COMMON
|
||||
make -O -j $TT_PROCS
|
||||
}
|
||||
|
||||
clean() {
|
||||
rm -rf byacc-*/
|
||||
}
|
||||
|
||||
package() {
|
||||
cd byacc-*/
|
||||
# NOTE: byacc's "make install" calls diff -c, which is unsupported by
|
||||
# Busybox. Unfortunately, our other implementation of diff requires
|
||||
# byacc to build, meaning we'll need to do a manual install to prevent
|
||||
# a circular dependency. ~ahill
|
||||
mkdir -p $TT_INSTALLDIR/bin
|
||||
cp yacc $TT_INSTALLDIR/bin/
|
||||
ln -s yacc $TT_INSTALLDIR/bin/byacc
|
||||
mkdir -p $TT_INSTALLDIR/usr/share/man/man1
|
||||
cp yacc.1 $TT_INSTALLDIR/usr/share/man/man1/
|
||||
}
|
||||
24
sources/editline/editline.spec
Normal file
24
sources/editline/editline.spec
Normal file
@@ -0,0 +1,24 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_HASH="21362b00653bbfc1c71f71a7578da66b5b5203559d43134d2dd7719e313ce041"
|
||||
SRC_NAME="editline"
|
||||
SRC_URL="https://thrysoee.dk/editline/libedit-20251016-3.1.tar.gz"
|
||||
SRC_VERSION="20251016-3.1"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd libedit-*/
|
||||
./configure $TT_AUTOCONF_COMMON --disable-static
|
||||
# NOTE: wchar_t isn't defined correctly due to a bug in clang, preventing
|
||||
# libedit from building properly. ~ahill
|
||||
# See also: https://bugs.gentoo.org/870001
|
||||
make -O -j $TT_PROCS CFLAGS="$CFLAGS -include stdc-predef.h"
|
||||
}
|
||||
|
||||
clean() {
|
||||
rm -rf libedit-*/
|
||||
}
|
||||
|
||||
package() {
|
||||
cd libedit-*/
|
||||
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
|
||||
}
|
||||
21
sources/flex/flex.spec
Normal file
21
sources/flex/flex.spec
Normal file
@@ -0,0 +1,21 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_HASH="e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995"
|
||||
SRC_NAME="flex"
|
||||
SRC_URL="https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz"
|
||||
SRC_VERSION="2.6.4"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd flex-*/
|
||||
./configure $TT_AUTOCONF_COMMON --disable-static
|
||||
make -O -j $TT_PROCS
|
||||
}
|
||||
|
||||
clean() {
|
||||
rm -rf flex-*/
|
||||
}
|
||||
|
||||
package() {
|
||||
cd flex-*/
|
||||
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
|
||||
}
|
||||
20
sources/m4/m4.spec
Normal file
20
sources/m4/m4.spec
Normal file
@@ -0,0 +1,20 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_HASH="e4315fef49b08912b1d1db3774dd98f971397b2751c648512b6c8d852590dc50"
|
||||
SRC_NAME="m4"
|
||||
SRC_URL="http://haddonthethird.net/m4/m4-2.tar.bz2"
|
||||
SRC_VERSION="2"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd m4-*/
|
||||
make -O -j $TT_PROCS
|
||||
}
|
||||
|
||||
clean() {
|
||||
rm -rf m4-*/
|
||||
}
|
||||
|
||||
package() {
|
||||
cd m4-*/
|
||||
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
|
||||
}
|
||||
24
sources/muon/muon.spec
Normal file
24
sources/muon/muon.spec
Normal file
@@ -0,0 +1,24 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_FILENAME="muon-0.5.0.tar.gz"
|
||||
SRC_HASH="565c1b6e1e58f7e90d8813fda0e2102df69fb493ddab4cf6a84ce3647466bee5"
|
||||
SRC_NAME="muon"
|
||||
SRC_URL="https://git.sr.ht/~lattis/muon/archive/0.5.0.tar.gz"
|
||||
SRC_VERSION="0.5.0"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd muon-*/
|
||||
./bootstrap.sh build
|
||||
./build/muon-bootstrap setup build
|
||||
./build/muon-bootstrap -C build samu
|
||||
./build/muon -C build test -R
|
||||
}
|
||||
|
||||
clean() {
|
||||
rm -rf muon-*/
|
||||
}
|
||||
|
||||
package() {
|
||||
cd muon-*/
|
||||
DESTDIR=$TT_INSTALLDIR ./build/muon -C build install
|
||||
}
|
||||
30
sources/ncurses/ncurses.spec
Normal file
30
sources/ncurses/ncurses.spec
Normal file
@@ -0,0 +1,30 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_HASH="136d91bc269a9a5785e5f9e980bc76ab57428f604ce3e5a5a90cebc767971cc6"
|
||||
SRC_NAME="ncurses"
|
||||
SRC_URL="https://invisible-island.net/archives/ncurses/ncurses-6.5.tar.gz"
|
||||
SRC_VERSION="6.5"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd ncurses-*/
|
||||
./configure $TT_AUTOCONF_COMMON \
|
||||
--with-cxx-shared \
|
||||
--with-shared \
|
||||
--without-ada \
|
||||
--without-normal \
|
||||
--without-tests
|
||||
make -O -j $TT_PROCS
|
||||
}
|
||||
|
||||
clean() {
|
||||
rm -rf ncurses-*/
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ncurses-*/
|
||||
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
|
||||
# NOTE: These symlinks exist for compatibility's sake, since some libraries
|
||||
# will only look for "ncurses" and not "ncursesw". ~ahill
|
||||
ln -s libncursesw.so $TT_INSTALLDIR/lib/libncurses.so
|
||||
ln -s libncurses++w.so $TT_INSTALLDIR/lib/libncurses++.so
|
||||
}
|
||||
Reference in New Issue
Block a user