From 239ced844ea434e623686094af3de168f90e4391 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Thu, 13 Jun 2024 00:25:03 +0800 Subject: repos updated --- repos/extra/syslinux/abuild | 21 +++++++++++++++++++++ repos/extra/syslinux/build | 8 -------- repos/extra/syslinux/info | 10 ---------- 3 files changed, 21 insertions(+), 18 deletions(-) create mode 100644 repos/extra/syslinux/abuild delete mode 100644 repos/extra/syslinux/build delete mode 100644 repos/extra/syslinux/info (limited to 'repos/extra/syslinux') diff --git a/repos/extra/syslinux/abuild b/repos/extra/syslinux/abuild new file mode 100644 index 00000000..bd534632 --- /dev/null +++ b/repos/extra/syslinux/abuild @@ -0,0 +1,21 @@ +name=syslinux +version=6.03 +release=2 +source="http://www.kernel.org/pub/linux/utils/boot/$name/$name-$version.tar.xz + $name-Makefile.patch + $name-sysmacros.patch + $name-fix-missing-stdio.patch" +skip_patch=1 +unset CFLAGS +unset CXXFLAGS + +build() { + patch -p0 -i $SRC/$name-Makefile.patch + patch -p1 -i $SRC/$name-sysmacros.patch + patch -p1 -i $SRC/$name-fix-missing-stdio.patch + + export LDFLAGS="$LDFLAGS --no-dynamic-linker" + + make OPTFLAGS="$CFLAGS -fcommon" installer + make -j1 OPTFLAGS="$CFLAGS -fcommon" INSTALLROOT=$PKG MANDIR=/usr/share/man install +} diff --git a/repos/extra/syslinux/build b/repos/extra/syslinux/build deleted file mode 100644 index 019dcf1f..00000000 --- a/repos/extra/syslinux/build +++ /dev/null @@ -1,8 +0,0 @@ -patch -p0 -i $SRC/$name-Makefile.patch -patch -p1 -i $SRC/$name-sysmacros.patch -patch -p1 -i $SRC/$name-fix-missing-stdio.patch - -export LDFLAGS="$LDFLAGS --no-dynamic-linker" - -make OPTFLAGS="$CFLAGS -fcommon" installer -make -j1 OPTFLAGS="$CFLAGS -fcommon" INSTALLROOT=$PKG MANDIR=/usr/share/man install diff --git a/repos/extra/syslinux/info b/repos/extra/syslinux/info deleted file mode 100644 index 41891cec..00000000 --- a/repos/extra/syslinux/info +++ /dev/null @@ -1,10 +0,0 @@ -name=syslinux -version=6.03 -release=2 -source="http://www.kernel.org/pub/linux/utils/boot/$name/$name-$version.tar.xz - $name-Makefile.patch - $name-sysmacros.patch - $name-fix-missing-stdio.patch" -skip_patch=1 -unset CFLAGS -unset CXXFLAGS -- cgit v1.2.3