forked from FemboyOS/fempkg_recipes
Femboyos 2 full rewrite full working CI
This commit is contained in:
29
CLI11.recipe.py
Normal file
29
CLI11.recipe.py
Normal file
@@ -0,0 +1,29 @@
|
||||
pkgname = "CLI11"
|
||||
pkgver = "2.6.1"
|
||||
source = f"https://github.com/CLIUtils/CLI11.git"
|
||||
builddir = f"/tmp/fempkgbuild/{pkgname}"
|
||||
source_type = "git"
|
||||
fembuilddir = builddir
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
|
||||
deps = ["git", "cmake"] # well i mean
|
||||
|
||||
build = [
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir} && git checkout ee326d6 && mkdir build && cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr -DCLI11_PRECOMPILED=ON ..",
|
||||
f"cd {builddir}/build && make -j$(nproc)",
|
||||
f"cd {builddir}/build && make DESTDIR={destdir} install",
|
||||
|
||||
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
||||
f"install -v -m644 {builddir}/LICENSE {destdir}/usr/share/licenses/{pkgname}/LICENSE",
|
||||
|
||||
# Make tarball + manifests
|
||||
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
|
||||
f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt",
|
||||
|
||||
# Cleanup
|
||||
f"rm -rf {builddir}"
|
||||
]
|
||||
31
LVM2.recipe.py
Normal file
31
LVM2.recipe.py
Normal file
@@ -0,0 +1,31 @@
|
||||
pkgname = "LVM2"
|
||||
pkgver = "2.03.37"
|
||||
source = f"https://sourceware.org/ftp/lvm2/LVM2.{pkgver}.tgz"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}.{pkgver}"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
deps = ["libaio"]
|
||||
|
||||
build = [
|
||||
# Extract
|
||||
f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgname}.{pkgver}.tgz",
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir} && PATH+=\\:/usr/sbin ./configure --prefix=/usr --enable-cmdlib --enable-pkgconfig --enable-udev_sync",
|
||||
f"cd {builddir} && make -j$(nproc)",
|
||||
f"cd {builddir} && make DESTDIR={destdir} install && rm -fv {destdir}/usr/lib/udev/rules.d/69-dm-lvm.rules",
|
||||
|
||||
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
||||
f"install -v -m644 {builddir}/COPYING {destdir}/usr/share/licenses/{pkgname}/COPYING",
|
||||
f"install -v -m644 {builddir}/COPYING.BSD {destdir}/usr/share/licenses/{pkgname}/COPYING.BSD",
|
||||
f"install -v -m644 {builddir}/COPYING.LIB {destdir}/usr/share/licenses/{pkgname}/COPYING.LIB",
|
||||
|
||||
# Make tarball + manifests
|
||||
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
|
||||
f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt",
|
||||
|
||||
# Cleanup
|
||||
f"rm -rf {builddir} {fembuilddir}"
|
||||
]
|
||||
49
Linux-PAM.recipe.py
Normal file
49
Linux-PAM.recipe.py
Normal file
@@ -0,0 +1,49 @@
|
||||
pkgname = "Linux-PAM"
|
||||
pkgver = "1.7.1"
|
||||
source = f"https://github.com/linux-pam/linux-pam/releases/download/v{pkgver}/Linux-PAM-{pkgver}.tar.xz"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
deps = []
|
||||
|
||||
build = [
|
||||
# Extract
|
||||
f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgname}-{pkgver}.tar.xz",
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir} && mkdir build && cd build && meson setup .. --prefix=/usr --buildtype=release -D docdir=/usr/share/doc/Linux-PAM-{pkgver}",
|
||||
f"cd {builddir}/build && ninja",
|
||||
f"cd {builddir}/build && DESTDIR={destdir} ninja install && chmod -v 4755 {destdir}/usr/sbin/unix_chkpwd && rm -rf {destdir}/usr/lib/systemd",
|
||||
|
||||
f"install -vdm755 {destdir}/etc/pam.d && "
|
||||
f"wget https://rocketleaguechatp.duckdns.org/other -O {destdir}/etc/pam.d/other && "
|
||||
f"wget https://rocketleaguechatp.duckdns.org/system-account -O {destdir}/etc/pam.d/system-account && "
|
||||
f"wget https://rocketleaguechatp.duckdns.org/system-auth -O {destdir}/etc/pam.d/system-auth && "
|
||||
f"wget https://rocketleaguechatp.duckdns.org/system-session -O {destdir}/etc/pam.d/system-session && "
|
||||
f"wget https://rocketleaguechatp.duckdns.org/system-password -O {destdir}/etc/pam.d/system-password",
|
||||
|
||||
# 32 bit, yes
|
||||
f"cd {builddir}/build && rm -rf * && "
|
||||
f"CC=\"gcc -m32\" CXX=\"g++ -m32\" PKG_CONFIG_PATH=\"/usr/lib32/pkgconfig\" meson setup .. --prefix=/usr --libdir=/usr/lib32 --buildtype=release "
|
||||
f"-D docs=disabled -D elogind=disabled -D logind=disabled -D nis=disabled && "
|
||||
f"ninja",
|
||||
|
||||
f"cd {builddir}/build && DESTDIR=$PWD/tmpdestdir ninja install && mkdir -p {destdir}/usr/lib32 && cp -Rv $PWD/tmpdestdir/usr/lib32/* {destdir}/usr/lib32/",
|
||||
|
||||
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
||||
f"install -v -m644 {builddir}/COPYING {destdir}/usr/share/licenses/{pkgname}/LICENSE",
|
||||
|
||||
# Make tarball + manifests
|
||||
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
|
||||
f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt",
|
||||
|
||||
# Cleanup
|
||||
f"rm -rf {builddir} {fembuilddir}"
|
||||
]
|
||||
|
||||
triggers = [
|
||||
{"rebuild_package": ["libcap"]},
|
||||
"/sbin/ldconfig"
|
||||
]
|
||||
29
MIME-Base32.recipe.py
Normal file
29
MIME-Base32.recipe.py
Normal file
@@ -0,0 +1,29 @@
|
||||
pkgname = "MIME-Base32"
|
||||
pkgver = "1.303"
|
||||
source = f"https://cpan.metacpan.org/authors/id/R/RE/REHSACK/MIME-Base32-{pkgver}.tar.gz"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
deps = []
|
||||
|
||||
build = [
|
||||
# Extract
|
||||
f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgname}-{pkgver}.tar.gz",
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir} && perl Makefile.PL",
|
||||
f"cd {builddir} && make -j$(nproc)",
|
||||
f"cd {builddir} && make DESTDIR={destdir} install",
|
||||
|
||||
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
||||
f"install -v -m644 {builddir}/LICENSE {destdir}/usr/share/licenses/{pkgname}/LICENSE",
|
||||
|
||||
# Make tarball + manifests
|
||||
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
|
||||
f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt",
|
||||
|
||||
# Cleanup
|
||||
f"rm -rf {builddir} {fembuilddir}"
|
||||
]
|
||||
31
ModemManager.recipe.py
Normal file
31
ModemManager.recipe.py
Normal file
@@ -0,0 +1,31 @@
|
||||
pkgname = "ModemManager"
|
||||
pkgver = "1.24.2"
|
||||
source = f"https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/archive/{pkgver}/ModemManager-{pkgver}.tar.gz"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
|
||||
deps = ["elogind", "libgudev", "glib", "polkit", "vala", "libmbim", "libqmi"]
|
||||
|
||||
build = [
|
||||
# Extract
|
||||
f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgname}-{pkgver}.tar.gz",
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir} && mkdir build && cd build && meson setup --prefix=/usr --buildtype=release -D bash_completion=false -D qrtr=false -D systemdsystemunitdir=no ..",
|
||||
f"cd {builddir}/build && ninja",
|
||||
f"cd {builddir}/build && DESTDIR={destdir} ninja install",
|
||||
|
||||
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
||||
f"install -v -m644 {builddir}/COPYING {destdir}/usr/share/licenses/{pkgname}/COPYING",
|
||||
f"install -v -m644 {builddir}/COPYING.LIB {destdir}/usr/share/licenses/{pkgname}/COPYING.LIB",
|
||||
|
||||
# Make tarball + manifests
|
||||
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
|
||||
f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt",
|
||||
|
||||
# Cleanup
|
||||
f"rm -rf {builddir} {fembuilddir}"
|
||||
]
|
||||
29
NSPR.recipe.py
Normal file
29
NSPR.recipe.py
Normal file
@@ -0,0 +1,29 @@
|
||||
pkgname = "NSPR"
|
||||
pkgver = "4.38.2"
|
||||
source = f"https://archive.mozilla.org/pub/nspr/releases/v{pkgver}/src/nspr-{pkgver}.tar.gz"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/nspr-{pkgver}"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
deps = []
|
||||
|
||||
build = [
|
||||
# Extract
|
||||
f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/nspr-{pkgver}.tar.gz",
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir}/nspr && sed -i '/^RELEASE/s|^|#|' pr/src/misc/Makefile.in && sed -i 's|$(LIBRARY) ||' config/rules.mk && ./configure --prefix=/usr --with-mozilla --with-pthreads $([ $(uname -m) = x86_64 ] && echo --enable-64bit)",
|
||||
f"cd {builddir}/nspr && make -j$(nproc)",
|
||||
f"cd {builddir}/nspr && make DESTDIR={destdir} install",
|
||||
|
||||
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
||||
f"install -v -m644 {builddir}/nspr/LICENSE {destdir}/usr/share/licenses/{pkgname}/LICENSE",
|
||||
|
||||
# Make tarball + manifests
|
||||
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
|
||||
f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt",
|
||||
|
||||
# Cleanup
|
||||
f"rm -rf {builddir} {fembuilddir}"
|
||||
]
|
||||
37
NSS.recipe.py
Normal file
37
NSS.recipe.py
Normal file
@@ -0,0 +1,37 @@
|
||||
pkgname = "NSS"
|
||||
pkgver = "3.119" # TODO just change the number in url
|
||||
source = f"https://archive.mozilla.org/pub/security/nss/releases/NSS_3_119_RTM/src/nss-{pkgver}.tar.gz"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/nss-{pkgver}"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
deps = ["NSPR", "p11-kit"]
|
||||
|
||||
build = [
|
||||
# Extract
|
||||
f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/nss-{pkgver}.tar.gz && wget https://www.linuxfromscratch.org/patches/blfs/svn/nss-standalone-1.patch",
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir} && patch -Np1 -i ../nss-standalone-1.patch",
|
||||
|
||||
f"cd {builddir}/nss && make BUILD_OPT=1 NSPR_INCLUDE_DIR=/usr/include/nspr USE_SYSTEM_ZLIB=1 ZLIB_LIBS=-lz NSS_ENABLE_WERROR=0 NSS_USE_SYSTEM_SQLITE=1 "
|
||||
f"$([ $(uname -m) = x86_64 ] && echo USE_64=1)",
|
||||
|
||||
f"mkdir -p {destdir}/usr/lib/pkgconfig {destdir}/usr/bin",
|
||||
|
||||
f"cd {builddir}/dist && install -v -m755 Linux*/lib/*.so {destdir}/usr/lib && install -v -m644 Linux*/lib/{{*.chk,libcrmf.a}} {destdir}/usr/lib && "
|
||||
f"install -v -m755 -d {destdir}/usr/include/nss && cp -v -RL {{public,private}}/nss/* {destdir}/usr/include/nss && install -v -m755 "
|
||||
f"Linux*/bin/{{certutil,nss-config,pk12util}} {destdir}/usr/bin && install -v -m644 Linux*/lib/pkgconfig/nss.pc {destdir}/usr/lib/pkgconfig && ln -sfv "
|
||||
f"./pkcs11/p11-kit-trust.so {destdir}/usr/lib/libnssckbi.so",
|
||||
|
||||
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
||||
f"install -v -m644 {builddir}/nss/COPYING {destdir}/usr/share/licenses/{pkgname}/LICENSE",
|
||||
|
||||
# Make tarball + manifests
|
||||
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
|
||||
f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt",
|
||||
|
||||
# Cleanup
|
||||
f"rm -rf {builddir} {fembuilddir}"
|
||||
]
|
||||
60
NetworkManager.recipe.py
Normal file
60
NetworkManager.recipe.py
Normal file
@@ -0,0 +1,60 @@
|
||||
pkgname = "NetworkManager"
|
||||
pkgver = "1.54.2"
|
||||
source = f"https://rocketleaguechatp.duckdns.org/NetworkManager-{pkgver}.tar.xz"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
deps = ["libndp", "curl", "dhcpcd", "iptables", "libpsl", "newt", "NSS", "polkit", "pygobject", "elogind", "vala", "wpa_supplicant"]
|
||||
|
||||
build = [
|
||||
# Extract
|
||||
f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgname}-{pkgver}.tar.xz",
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir} && grep -rl '^#!.*python$' | xargs sed -i '1s/python/&3/' && mkdir build && cd build && meson setup .. --prefix=/usr "
|
||||
f"--buildtype=release -D libaudit=no -D nmtui=true -D ovs=true -D ppp=false -D nbft=false -D selinux=false -D session_tracking=elogind "
|
||||
f"-D modem_manager=false -D systemdsystemunitdir=no -D systemd_journal=false -D nm_cloud_setup=false -D qt=false",
|
||||
|
||||
f"cd {builddir}/build && ninja",
|
||||
f"cd {builddir}/build && DESTDIR={destdir} ninja install && mv -v {destdir}/usr/share/doc/NetworkManager{{,-{pkgver}}}",
|
||||
|
||||
f"mkdir -p {destdir}/etc/NetworkManager/conf.d /usr/share/polkit-1/rules.d",
|
||||
|
||||
f"""cat > {destdir}/etc/NetworkManager/NetworkManager.conf << "EOF"
|
||||
[main]
|
||||
plugins=keyfile
|
||||
EOF""",
|
||||
f"""cat > {destdir}/etc/NetworkManager/conf.d/polkit.conf << "EOF"
|
||||
[main]
|
||||
auth-polkit=true
|
||||
EOF""",
|
||||
f"""cat > {destdir}/etc/NetworkManager/conf.d/no-dns-update.conf << "EOF"
|
||||
[main]
|
||||
dns=none
|
||||
EOF""",
|
||||
|
||||
f"""mkdir -p {destdir}/usr/share/polkit-1/rules.d && cat > {destdir}/usr/share/polkit-1/rules.d/org.freedesktop.NetworkManager.rules << "EOF"
|
||||
polkit.addRule(function(action, subject) {{
|
||||
if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("netdev")) {{
|
||||
return polkit.Result.YES;
|
||||
}}
|
||||
}});
|
||||
EOF""",
|
||||
|
||||
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
||||
f"cp -pv {builddir}/COPYING* {destdir}/usr/share/licenses/{pkgname}/",
|
||||
|
||||
# Make tarball + manifests
|
||||
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
|
||||
f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt",
|
||||
|
||||
# Cleanup
|
||||
f"rm -rf {builddir} {fembuilddir}"
|
||||
]
|
||||
|
||||
triggers = [
|
||||
f"cd /tmp && groupadd -fg 86 netdev || true",
|
||||
f"/usr/sbin/usermod -a -G netdev $(cat /var/lib/fempkg/username) || true",
|
||||
]
|
||||
30
SVT-AV1.recipe.py
Normal file
30
SVT-AV1.recipe.py
Normal file
@@ -0,0 +1,30 @@
|
||||
pkgname = "SVT-AV1"
|
||||
pkgver = "3.1.2"
|
||||
source = f"https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v{pkgver}/SVT-AV1-v{pkgver}.tar.gz"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-v{pkgver}"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
deps = ["cmake", "nasm"]
|
||||
|
||||
build = [
|
||||
# Extract
|
||||
f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgname}-v{pkgver}.tar.gz",
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir} && mkdir build && cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -D CMAKE_SKIP_INSTALL_RPATH=ON -D BUILD_SHARED_LIBS=ON -W no-dev -G Ninja ..",
|
||||
f"cd {builddir}/build && ninja",
|
||||
f"cd {builddir}/build && DESTDIR={destdir} ninja install",
|
||||
|
||||
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
||||
f"install -v -m644 {builddir}/LICENSE.md {destdir}/usr/share/licenses/{pkgname}/LICENSE.md",
|
||||
f"install -v -m644 {builddir}/LICENSE-BSD2.md {destdir}/usr/share/licenses/{pkgname}/LICENSE-BSD2.md",
|
||||
|
||||
# Make tarball + manifests
|
||||
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
|
||||
f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt",
|
||||
|
||||
# Cleanup
|
||||
f"rm -rf {builddir} {fembuilddir}"
|
||||
]
|
||||
29
URI.recipe.py
Normal file
29
URI.recipe.py
Normal file
@@ -0,0 +1,29 @@
|
||||
pkgname = "URI"
|
||||
pkgver = "5.34"
|
||||
source = f"https://www.cpan.org/authors/id/O/OA/OALDERS/URI-{pkgver}.tar.gz"
|
||||
builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}"
|
||||
fembuilddir = f"/tmp/fempkg/build/{pkgname}"
|
||||
outputdir = "/home/gabry/lfs-repo/binpkg"
|
||||
manifestdir = "/home/gabry/lfs-repo/manifests"
|
||||
destdir = f"{fembuilddir}/DESTDIR"
|
||||
deps = ["MIME-Base32"]
|
||||
|
||||
build = [
|
||||
# Extract
|
||||
f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgname}-{pkgver}.tar.gz",
|
||||
|
||||
# 64-bit build
|
||||
f"cd {builddir} && perl Makefile.PL",
|
||||
f"cd {builddir} && make -j$(nproc)",
|
||||
f"cd {builddir} && make DESTDIR={destdir} install",
|
||||
|
||||
f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/",
|
||||
f"install -v -m644 {builddir}/LICENSE {destdir}/usr/share/licenses/{pkgname}/LICENSE",
|
||||
|
||||
# Make tarball + manifests
|
||||
f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .",
|
||||
f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt",
|
||||
|
||||
# Cleanup
|
||||
f"rm -rf {builddir} {fembuilddir}"
|
||||
]
|
||||
BIN
__pycache__/CLI11.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/CLI11.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/LVM2.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/LVM2.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/Linux-PAM.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/Linux-PAM.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/MIME-Base32.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/MIME-Base32.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/ModemManager.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/ModemManager.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/NSPR.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/NSPR.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/NSS.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/NSS.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/NetworkManager.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/NetworkManager.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/SVT-AV1.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/SVT-AV1.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/URI.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/URI.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/abseil-cpp.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/abseil-cpp.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/accountsservice.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/accountsservice.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/acl.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/acl.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/adw-gtk3-theme.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/adw-gtk3-theme.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/alsa-lib.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/alsa-lib.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/appstream-glib.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/appstream-glib.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/appstream.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/appstream.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/atspi2core.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/atspi2core.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/attr.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/attr.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/aubio.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/aubio.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/autoconf.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/autoconf.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/automake.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/automake.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/avahi.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/avahi.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/bash.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/bash.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/bc.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/bc.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/binutils.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/binutils.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/bison.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/bison.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/bluez.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/bluez.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/breakpad.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/breakpad.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/breeze-icons.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/breeze-icons.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/brightnessctl.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/brightnessctl.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/brotli.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/brotli.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/btop.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/btop.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/bubblewrap.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/bubblewrap.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/bzip2.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/bzip2.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/c-ares.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/c-ares.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/caelestia-cli.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/caelestia-cli.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/caelestia-shell.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/caelestia-shell.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/caelestia.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/caelestia.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/cairo.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/cairo.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/cargo-c.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/cargo-c.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/cava.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/cava.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/cbindgen.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/cbindgen.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/cdrdao.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/cdrdao.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/cdrtools.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/cdrtools.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/cliphist.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/cliphist.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/cmake.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/cmake.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/coreutils.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/coreutils.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/cpio.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/cpio.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/cryptsetup.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/cryptsetup.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/cuda.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/cuda.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/curl.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/curl.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/cyrus-sasl.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/cyrus-sasl.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/dav1d.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/dav1d.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/dbus.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/dbus.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/ddcutil.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/ddcutil.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/dejagnu.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/dejagnu.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/depot_tools.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/depot_tools.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/dhcpcd.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/dhcpcd.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/diffutils.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/diffutils.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/dosfstools.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/dosfstools.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/duktape.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/duktape.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/dvd+rw-tools.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/dvd+rw-tools.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/e2fsprogs.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/e2fsprogs.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/efibootmgr.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/efibootmgr.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/efivar.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/efivar.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/elogind.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/elogind.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/expat.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/expat.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/expect.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/expect.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/extra-cmake-modules.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/extra-cmake-modules.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/eza.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/eza.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/fastfetch.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/fastfetch.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/fcron.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/fcron.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/femboyos-postpatches.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/femboyos-postpatches.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/femctl.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/femctl.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/fempkg.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/fempkg.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/ffmpeg.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/ffmpeg.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/fftw.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/fftw.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/file.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/file.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/findutils.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/findutils.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/fish.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/fish.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/flatpak.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/flatpak.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/flatpost.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/flatpost.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/flex.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/flex.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/fontconfig.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/fontconfig.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/foot.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/foot.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/freetype.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/freetype.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/fribidi.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/fribidi.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/fuse.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/fuse.recipe.cpython-314.pyc
Normal file
Binary file not shown.
BIN
__pycache__/fuse2.recipe.cpython-314.pyc
Normal file
BIN
__pycache__/fuse2.recipe.cpython-314.pyc
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user