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/acl/.gitignore vendored Normal file
View File

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

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

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

24
src/acl/pkg.sh Normal file
View File

@ -0,0 +1,24 @@
# general info
NAME="acl"
DESC="Commands for manipulating POSIX Access Control Lists"
VERSION="2.3.2"
# required files
FILES=("https://download.savannah.gnu.org/releases/acl/acl-${VERSION}.tar.xz")
HASHES=("590765dee95907dbc3c856f7255bd669")
# install and build depends
DEPENDS=("glibc")
BUILD=("attr")
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr \
--disable-static \
--docdir="/usr/share/doc/acl-${VERSION}"
make && make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}

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

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

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

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

25
src/attr/pkg.sh Normal file
View File

@ -0,0 +1,25 @@
# general info
NAME="attr"
DESC="Commands for manipulating filesystem extended attributes"
VERSION="2.5.2"
# required files
FILES=("https://download.savannah.gnu.org/releases/attr/attr-${VERSION}.tar.gz")
HASHES=("227043ec2f6ca03c0948df5517f9c927")
# install and build depends
DEPENDS=("glibc")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr \
--disable-static \
--sysconfdir=/etc \
--docdir="/usr/share/doc/attr-${VERSION}"
make && make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}

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

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

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

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

22
src/autoconf/pkg.sh Normal file
View File

@ -0,0 +1,22 @@
# general info
NAME="autoconf"
DESC="Extensible package of M4 macros that produce shell scripts to automatically configure software source code packages"
VERSION="2.72"
# required files
FILES=("https://ftp.gnu.org/gnu/autoconf/autoconf-${VERSION}.tar.xz")
HASHES=("1be79f7106ab6767f18391c5e22be701")
# install and build depends
DEPENDS=("gawk" "diffutils" "m4" "perl" "bash")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr
make && make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}

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

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

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

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

22
src/automake/pkg.sh Normal file
View File

@ -0,0 +1,22 @@
# general info
NAME="automake"
DESC="Tool for automatically generating Makefile.in files compliant with the GNU Coding Standards"
VERSION="1.16.5"
# required files
FILES=("https://ftp.gnu.org/gnu/automake/automake-${VERSION}.tar.xz")
HASHES=("4017e96f89fca45ca946f1c5db6be714")
# install and build depends
DEPENDS=("bash" "perl")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr --docdir="/usr/share/doc/automake-${VERSION}"
make && make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}

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}"
}

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

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

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

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

36
src/binutils/pkg.sh Normal file
View File

@ -0,0 +1,36 @@
# general info
NAME="binutils"
DESC="Collection of binary tools"
VERSION="2.42"
# required files
FILES=("https://sourceware.org/pub/binutils/releases/binutils-${VERSION}.tar.xz")
HASHES=("a075178a9646551379bfb64040487715")
# install and build depends
DEPENDS=("glibc" "jansson" "libelf" "zlib" "zstd")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
mkdir -v build
cd build
../configure --prefix=/usr \
--sysconfdir=/etc \
--enable-gold \
--enable-ld=default \
--enable-plugins \
--enable-shared \
--disable-werror \
--enable-64-bit-bfd \
--with-system-zlib \
--enable-default-hash-style=gnu
make tooldir=/usr && make DESTDIR="${ROOTDIR}" tooldir=/usr install
rm -fv "${ROOTDIR}/usr/lib/lib"{bfd,ctf,ctf-nobfd,gprofng,opcodes,sframe}.a
cd ../.. && rm -r "${NAME}-${VERSION}"
}

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

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

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

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

22
src/bison/pkg.sh Normal file
View File

@ -0,0 +1,22 @@
# general info
NAME="bison"
DESC="General-purpose parser generator"
VERSION="3.8.2"
# required files
FILES=("https://ftp.gnu.org/gnu/bison/bison-${VERSION}.tar.xz")
HASHES=("c28f119f405a2304ff0a7ccdcc629713")
# install and build depends
DEPENDS=("gettext" "glibc" "m4" "bash")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr --docdir="/usr/share/doc/bison-${VERSION}"
make && make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}

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

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

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

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

22
src/check/pkg.sh Normal file
View File

@ -0,0 +1,22 @@
# general info
NAME="check"
DESC="Unit testing framework for C"
VERSION="0.15.2"
# required files
FILES=("https://github.com/libcheck/check/releases/download/${VERSION}/check-${VERSION}.tar.gz")
HASHES=("50fcafcecde5a380415b12e9c574e0b2")
# install and build depends
DEPENDS=("gawk")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr --disable-static
make && make DESTDIR="${ROOTDIR}" docdir="/usr/share/doc/check-${VERSION}" install
cd .. && rm -r "${NAME}-${VERSION}"
}

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

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

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

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

37
src/coreutils/pkg.sh Normal file
View File

@ -0,0 +1,37 @@
# general info
NAME="coreutils"
DESC="GNU core utilities"
VERSION="9.4"
# required files
FILES=("https://ftp.gnu.org/gnu/coreutils/coreutils-${VERSION}.tar.xz")
HASHES=("459e9546074db2834eefe5421f250025")
# install and build depends
DEPENDS=("acl" "attr" "glibc" "gmp" "libcap" "openssl")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
patch -Np1 -i "../coreutils-${VERSION}-i18n-1.patch"
sed -e '/n_out += n_hold/,+4 s|.*bufsize.*|//&|' \
-i src/split.c
autoreconf -fiv
FORCE_UNSAFE_CONFIGURE=1 ./configure \
--prefix=/usr \
--enable-no-install-program=kill,uptime
make && make DESTDIR="${ROOTDIR}" install
mkdir -pv "${ROOTDIR}/usr/sbin"
mkdir -pv "${ROOTDIR}/usr/share/man/man8"
mv -v "${ROOTDIR}/usr/share/man/man1/chroot.1" "${ROOTDIR}/usr/share/man/man8/chroot.8"
mv -v "${ROOTDIR}/usr/bin/chroot" "${ROOTDIR}/usr/sbin"
sed -i 's/"1"/"8"/' "${ROOTDIR}/usr/share/man/man8/chroot.8"
cd .. && rm -r "${NAME}-${VERSION}"
}

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

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

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

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

30
src/dejagnu/pkg.sh Normal file
View File

@ -0,0 +1,30 @@
# general info
NAME="dejagnu"
DESC="Framework for testing other programs"
VERSION="1.6.3"
# required files
FILES=("https://ftp.gnu.org/gnu/dejagnu/dejagnu-${VERSION}.tar.gz")
HASHES=("68c5208c58236eba447d7d6d1326b821")
# install and build depends
DEPENDS=("expect" "bash")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
mkdir -v build
cd build
../configure --prefix=/usr
makeinfo --html --no-split -o doc/dejagnu.html ../doc/dejagnu.texi
makeinfo --plaintext -o doc/dejagnu.txt ../doc/dejagnu.texi
make DESTDIR="${ROOTDIR}" install
install -v -dm755 "${ROOTDIR}/usr/share/doc/dejagnu-${VERSION}"
install -v -m644 doc/dejagnu.{html,txt} "${ROOTDIR}/usr/share/doc/dejagnu-${VERSION}"
cd ../.. && rm -r "${NAME}-${VERSION}"
}

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

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

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

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

41
src/dhcpcd/pkg.sh Normal file
View File

@ -0,0 +1,41 @@
# general info
NAME="dhcpcd"
DESC="DHCP and DHCPv6 client"
VERSION="10.0.8"
# required files
FILES=("https://github.com/NetworkConfiguration/dhcpcd/releases/download/v${VERSION}/dhcpcd-${VERSION}.tar.xz")
HASHES=("d8dddf9f971a8d9ff828f33d8fa9f6d9a892a4a1429d230e9efb2be97dd0e313")
# install and build depends
DEPENDS=("glibc" "openssl" "bash" "systemd")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/dhcpcd \
--dbdir=/var/lib/dhcpcd \
--runstatedir=/run \
--privsepuser=dhcpcd
make && make DESTDIR="${ROOTDIR}" install
mkdir -pv "${ROOTDIR}/usr/lib/systemd/system"
install -Dm644 "${ROOTDIR}/dhcpcd.service" "${ROOTDIR}/usr/lib/systemd/system"
cd .. && rm -r "${NAME}-${VERSION}"
}
install() {
install -v -m700 -d /var/lib/dhcpcd
groupadd -g 52 dhcpcd
useradd -c 'dhcpcd PrivSep' \
-d /var/lib/dhcpcd \
-g dhcpcd \
-s /bin/false \
-u 52 dhcpcd
chown -v dhcpcd:dhcpcd /var/lib/dhcpcd
}

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

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

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

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

22
src/diffutils/pkg.sh Normal file
View File

@ -0,0 +1,22 @@
# general info
NAME="diffutils"
DESC="Package of several programs related to finding differences between files"
VERSION="3.10"
# required files
FILES=("https://ftp.gnu.org/gnu/diffutils/diffutils-${VERSION}.tar.xz")
HASHES=("2745c50f6f4e395e7b7d52f902d075bf")
# install and build depends
DEPENDS=("glibc" "bash")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr
make && make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}

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

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

View File

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

25
src/dosfstools/pkg.sh Normal file
View File

@ -0,0 +1,25 @@
# general info
NAME="dosfstools"
DESC="Utilities for use with the FAT family of file systems"
VERSION="4.2"
# required files
FILES=("https://github.com/dosfstools/dosfstools/releases/download/v${VERSION}/dosfstools-${VERSION}.tar.gz")
HASHES=("49c8e457327dc61efab5b115a27b087a")
# install and build depends
DEPENDS=("glibc")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr \
--enable-compat-symlinks \
--mandir=/usr/share/man \
--docdir="/usr/share/doc/dosfstools-${VERSION}"
make && make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}

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

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

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

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

35
src/e2fsprogs/pkg.sh Normal file
View File

@ -0,0 +1,35 @@
# general info
NAME="e2fsprogs"
DESC="Utilities for handling the ext file systems"
VERSION="1.47.0"
# required files
FILES=("https://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v${VERSION}/e2fsprogs-${VERSION}.tar.gz")
HASHES=("6b4f18a33873623041857b4963641ee9")
# install and build depends
DEPENDS=("bash" "util-linux")
BUILD=("systemd")
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
mkdir -v build
cd build
../configure --prefix=/usr \
--sysconfdir=/etc \
--enable-elf-shlibs \
--disable-libblkid \
--disable-libuuid \
--disable-uuidd \
--disable-fsckmake
make && make DESTDIR="${ROOTDIR}" install
rm -fv "${ROOTDIR}/usr/lib/"{libcom_err,libe2p,libext2fs,libss}.a
gunzip -v "${ROOTDIR}/usr/share/info/libext2fs.info.gz"
install-info --dir-file="${ROOTDIR}/usr/share/info/dir" "${ROOTDIR}/usr/share/info/libext2fs.info"
cd ../.. && rm -r "${NAME}-${VERSION}"
}

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

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

View File

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

22
src/efibootmgr/pkg.sh Normal file
View File

@ -0,0 +1,22 @@
# general info
NAME="efibootmgr"
DESC="Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager"
VERSION="18"
# required files
FILES=("https://github.com/rhboot/efibootmgr/archive/18/efibootmgr-${VERSION}.tar.gz")
HASHES=("e170147da25e1d5f72721ffc46fe4e06")
# install and build depends
DEPENDS=("efivar" "glibc" "popt")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
make EFIDIR=LFS EFI_LOADER=grubx64.efi
make DESTDIR="${ROOTDIR}" install EFIDIR=LFS
cd .. && rm -r "${NAME}-${VERSION}"
}

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

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

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

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

21
src/efivar/pkg.sh Normal file
View File

@ -0,0 +1,21 @@
# general info
NAME="efivar"
DESC="Tools and libraries to work with EFI variables"
VERSION="39"
# required files
FILES=("https://github.com/rhboot/efivar/archive/${VERSION}/efivar-${VERSION}.tar.gz")
HASHES=("a8fc3e79336cd6e738ab44f9bc96a5aa")
# install and build depends
DEPENDS=("glibc")
BUILD=("mandoc")
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
make && make DESTDIR="${ROOTDIR}" install LIBDIR=/usr/lib
cd .. && rm -r "${NAME}-${VERSION}"
}

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

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

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

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

26
src/expat/pkg.sh Normal file
View File

@ -0,0 +1,26 @@
# general info
NAME="expat"
DESC="Stream-oriented XML parser library written in C"
VERSION="2.6.2"
_RVERSION="$(echo "R_${VERSION}" | sed 's/\./_/g')"
# required files
FILES=("https://github.com/libexpat/libexpat/releases/download/${_RVERSION}/expat-${VERSION}.tar.bz2")
HASHES=("15811413e92a632272188781cc3f2a9e52ed62f6edfad9b2eeeca0946e53132b6c9ca6dc460eda766d6a4e68e5920128335d705f9556b5aa3f77593658780470")
# install and build depends
DEPENDS=("glibc")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.bz2"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr \
--disable-static \
--docdir="/usr/share/doc/expat-${VERSION}"
make && make DESTDIR="${ROOTDIR}" install
install -v -m644 doc/*.{html,css} "/usr/share/doc/expat-${VERSION}"
cd .. && rm -r "${NAME}-${VERSION}"
}

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

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

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

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

27
src/expect/pkg.sh Normal file
View File

@ -0,0 +1,27 @@
# general info
NAME="expect"
DESC="Tool for automating interactive applications such as telnet, ftp, passwd, fsck, rlogin, tip, etc."
VERSION="5.45.4"
# required files
FILES=("https://prdownloads.sourceforge.net/expect/expect${VERSION}.tar.gz")
HASHES=("00fce8de158422f5ccd2666512329bd2")
# install and build depends
DEPENDS=("tcl")
BUILD=()
build(){
tar xf "${NAME}${VERSION}.tar.gz"
cd "${NAME}${VERSION}"
./configure --prefix=/usr \
--with-tcl=/usr/lib \
--enable-shared \
--mandir=/usr/share/man \
--with-tclinclude=/usr/include
make && make DESTDIR="${ROOTDIR}" install
ln -svf "expect${VERSION}/libexpect${VERSION}.so" "${ROOTDIR}/usr/lib"
cd .. && rm -r "${NAME}${VERSION}"
}

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

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

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

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

31
src/file/pkg.sh Normal file
View File

@ -0,0 +1,31 @@
# general info
NAME="file"
DESC="A file type guesser"
VERSION="5.45"
# required files
FILES=("https://astron.com/pub/file/file-${VERSION}.tar.gz")
HASHES=("26b2a96d4e3a8938827a1e572afd527a")
# install and build depends
# DEPENDS=("bzip2" "glibc" "xz" "zlib" "zstd" "libseccomp")
DEPENDS=("bzip2" "glibc" "xz" "zlib" "zstd")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
CFLAGS+=" -pthread"
./configure \
--prefix=/usr \
--datadir=/usr/share/file \
--enable-fsect-man5 \
--disable-libseccomp
# --enable-libseccomp
make
make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}

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

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

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

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

23
src/findutils/pkg.sh Normal file
View File

@ -0,0 +1,23 @@
# general info
NAME="findutils"
DESC="Basic directory searching utilities of the GNU operating system"
VERSION="4.9.0"
# required files
FILES=("https://ftp.gnu.org/gnu/findutils/findutils-${VERSION}.tar.xz")
HASHES=("4a4a547e888a944b2f3af31d789a1137")
# install and build depends
DEPENDS=("ncurses")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr --localstatedir=/var/lib/locate
make
make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}

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

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

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

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

29
src/flex/pkg.sh Normal file
View File

@ -0,0 +1,29 @@
# general info
NAME="flex"
DESC="The Fast Lexical Analyzer"
VERSION="2.6.4"
# required files
FILES=("https://github.com/westes/flex/releases/download/v${VERSION}/flex-${VERSION}.tar.gz")
HASHES=("2882e3179748cc9f9c23ec593d6adc8d")
# install and build depends
DEPENDS=()
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr \
--docdir="/usr/share/doc/flex-${VERSION}" \
--disable-static
make
make DESTDIR="${ROOTDIR}" install
ln -sv flex "${ROOTDIR}/usr/bin/lex"
ln -sv flex.1 "${ROOTDIR}/usr/share/man/man1/lex.1"
cd .. && rm -r "${NAME}-${VERSION}"
}

3
src/flit-core/.gitignore vendored Normal file
View File

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

2
src/flit-core/changes.md Normal file
View File

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

22
src/flit-core/pkg.sh Normal file
View File

@ -0,0 +1,22 @@
# general info
NAME="flit-core"
DESC="Distribution-building parts of Flit"
VERSION="3.9.0"
# required files
FILES=("https://pypi.org/packages/source/f/flit-core/flit_core-${VERSION}.tar.gz")
HASHES=("3bc52f1952b9a78361114147da63c35b")
# install and build depends
DEPENDS=("glibc" "python3")
BUILD=()
build(){
tar xf "flit_core-${VERSION}.tar.gz"
cd "flit_core-${VERSION}"
python3 -m build --wheel --skip-dependency-check --no-isolation
PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl
cd .. && rm -r "flit_core-${VERSION}"
}

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

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

View File

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

25
src/libseccomp/pkg.sh Normal file
View File

@ -0,0 +1,25 @@
# general info
NAME="libseccomp"
DESC="An easy to use, platform independent, interface to the Linux Kernel's syscall filtering mechanism"
VERSION="2.5.5"
# required files
FILES=("https://github.com/seccomp/libseccomp/releases/download/v${VERSION}/libseccomp-${VERSION}.tar.gz")
HASHES=("c27a5e43cae1e89e6ebfedeea734c9b4")
# install and build depends
DEPENDS=("gcc-libs" "glibc")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
autoreconf -fiv
./configure --prefix=/usr
make
make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}