aboutsummaryrefslogtreecommitdiffstats
path: root/main/syslinux/APKBUILD
blob: e543f31f6efc4987dda1b7563c5380c5d0e7d09b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=syslinux
pkgver=3.85
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"
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
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make INSTALLROOT="$pkgdir" MANDIR=/usr/share/man local-install
}

md5sums="416e64e3e9b1f838e393c809ff83e792  syslinux-3.85.tar.bz2
c08398d165d29e48711e55058e2897de  syslinux-3.72-nopie.patch"