diff options
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 |