diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-06-13 00:25:03 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-06-13 00:25:03 +0800 |
| commit | 239ced844ea434e623686094af3de168f90e4391 (patch) | |
| tree | 541d2c575f3b3832ca1a3087bde3f65dc74a8f89 /repos/extra/syslinux | |
| parent | 3f80bb67166389b3acabf8f024ee1ad1a4364c1f (diff) | |
| download | alicelinux-239ced844ea434e623686094af3de168f90e4391.tar.gz alicelinux-239ced844ea434e623686094af3de168f90e4391.zip | |
repos updated
Diffstat (limited to 'repos/extra/syslinux')
| -rw-r--r-- | repos/extra/syslinux/abuild | 21 | ||||
| -rw-r--r-- | repos/extra/syslinux/build | 8 | ||||
| -rw-r--r-- | repos/extra/syslinux/info | 10 |
3 files changed, 21 insertions, 18 deletions
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 |