aboutsummaryrefslogtreecommitdiffstats
path: root/main/syslinux/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/syslinux/APKBUILD')
-rw-r--r--main/syslinux/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/syslinux/APKBUILD b/main/syslinux/APKBUILD
new file mode 100644
index 0000000000..e7036c0f87
--- /dev/null
+++ b/main/syslinux/APKBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=syslinux
+pkgver=3.81
+pkgrel=0
+pkgdesc="a boot loader for the Linux operating system which operates off an MS-DOS/Windows FAT filesystem."
+url="http://syslinux.org"
+license="GPL"
+makedepends="nasm perl"
+depends="mtools uclibc"
+source="http://www.kernel.org/pub/linux/utils/boot/$pkgname/$pkgname-$pkgver.tar.bz2
+ $pkgname-3.72-nopie.patch
+ "
+subpackages="$pkgname-doc"
+
+build ()
+{
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -p1 < ../$pkgname-3.72-nopie.patch || return 1
+ unset LDFLAGS
+ make installer || return 1
+ make INSTALLROOT="$pkgdir" MANDIR=/usr/share/man local-install
+}
+
+md5sums="9be7f19e65aa8ffad325ccff1b6175a4 syslinux-3.81.tar.bz2
+c08398d165d29e48711e55058e2897de syslinux-3.72-nopie.patch"