Commit 175af52e authored by Natanael Copa's avatar Natanael Copa
Browse files
parent 76eb4052
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=syslinux
pkgver=6.03
pkgrel=2
pkgrel=3
_ver=${pkgver/_/-}
pkgdesc="Boot loader for the Linux operating system"
url="http://syslinux.org"
......@@ -15,6 +15,10 @@ options="textrels"
ldpath="/usr/share/syslinux"
source="https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-$_ver.tar.xz
gcc-fix-alignment.patch::http://repo.or.cz/syslinux.git/patch/e5f2b577ded109291c9632dacb6eaa621d8a59fe?hp=8dc6d758b564a1ccc44c3ae11f265d43628219ce
dont-guess-alignment.patch::http://repo.or.cz/syslinux.git/patch/0cc9a99e560a2f52bcf052fd85b1efae35ee812f?hp=e5f2b577ded109291c9632dacb6eaa621d8a59fe
btrfs-fix.patch::http://repo.or.cz/syslinux.git/patch/548386049cd41e887079cdb904d3954365eb28f3?hp=721a0af2f0ba111c31685c5f6c5481eb25346971
kdb-230.patch::http://repo.or.cz/syslinux.git/patch/138e850fab106b5235178848b3e0d33e25f4d3a2
update-extlinux.conf
update-extlinux
"
......@@ -26,9 +30,9 @@ x86) _loaderarch=efi32;;
x86_64) _loaderarch=efi64;;
esac
_builddir="$srcdir"/$pkgname-$_ver
builddir="$srcdir"/$pkgname-$_ver
prepare() {
cd "$_builddir"
cd "$builddir"
for i in $source; do
case "$i" in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......@@ -37,13 +41,13 @@ prepare() {
}
build() {
cd "$_builddir"
cd "$builddir"
unset LDFLAGS
make $_loaderarch installer || return 1
}
package() {
cd "$_builddir"
cd "$builddir"
make -j1 INSTALLROOT="$pkgdir" MANDIR=/usr/share/man \
bios $_loaderarch install || return 1
......@@ -55,11 +59,23 @@ package() {
}
md5sums="92a253df9211e9c20172796ecf388f13 syslinux-6.03.tar.xz
47a5e4e8fee38ec6c285357853083c4f gcc-fix-alignment.patch
bc8e5430bda52b547c7dd89e02960374 dont-guess-alignment.patch
2fac35a4d11c26b6365bbdc26a1317d3 btrfs-fix.patch
32e86b5794b7014e7c7feffe8159cf66 kdb-230.patch
38d206b75b1096ba5df6cfabf455ab06 update-extlinux.conf
99cb67d6e92c1fc59c6e346c4203abc9 update-extlinux"
sha256sums="26d3986d2bea109d5dc0e4f8c4822a459276cf021125e8c9f23c3cca5d8c850e syslinux-6.03.tar.xz
aeaba8589b99a606cc0adef36bb51916bacb3e5d9abbae38c57398f0e9b4d04c gcc-fix-alignment.patch
42a589f9d4b4f20675827dd9e45f300a84f3543978c252f1009c28716e71e359 dont-guess-alignment.patch
8a730331ba6e31a526666f2d2294c9b19610c91dc82442e51d2efa8338e46de4 btrfs-fix.patch
527454eb9770f43a292d1b094605a22b260bcba0eedc5fc3631653474f20ce0a kdb-230.patch
d0b7b869489d0ac1529dd742d8d88844ea4e0a5d893de5218b250b97f68e55f2 update-extlinux.conf
8cc377cc9f244a902087992cd85a88826babf9a0a5096e31bd709bd78a561817 update-extlinux"
sha512sums="dd2b2916962b9e93bc1e714182e3ca2a727a229b8afabe913050bcfdd43ee2af51ee3acf79121d8c20caf434583efaa7f3196871e0e07c04d82191323a50fe31 syslinux-6.03.tar.xz
125e6d91d3ceeca2b448540ada6b0ea854462cf47db2f3764e5269554d16a15088f8d4efe10a3026757045ef0e886ba1a7a86182b588ff3df8e8dac22136f697 gcc-fix-alignment.patch
d92ff124fa2cb5cbc45dba983c954fcab1fb974311f1d2c3d20ea107b8c94f0a22e919573b8bf74c7b6411e5d61fc8befd25debaa8cf7d53a4df3d81cbb16183 dont-guess-alignment.patch
0033464a94660be59a3dbdf2c3abd0004e9e309aeeaabfb86efe5fa829acc68fc6881c81129ea9b9d7b0b4ebbe2932d8a4931f382cdda6a0015776a6eb68662e btrfs-fix.patch
8c83785a4f6d1bd43821dd536d4ff3082911e5bdf12944075bf12120e9123820ebdd17f6dc1bded397d098e4d9850a7fba169419bc3a5c1d792721d747f81ad6 kdb-230.patch
f304068ee174e531890fed20b05d962e6c076160c470ed9cf0d822ff56917793ecabec8c0495b045a740f1f63412a55fbb1fa4b4231b18f76c8584b55f51306d update-extlinux.conf
6b90164c5669744d1c3ba379d3d919bd16dfccb87e04ed5dcb6c324617fa0186840b359f5bb2d8515da3b26077b585050812755eb4e0b36e0e646dc7bcf024d2 update-extlinux"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment