aboutsummaryrefslogtreecommitdiffstats
path: root/main/syslinux/APKBUILD
blob: 82fbce3421f9f331787c3c9de5c73f76d5c1dfb0 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=syslinux
pkgver=5.01
pkgrel=0
pkgdesc="Boot loader for the Linux operating system"
url="http://syslinux.org"
arch="x86 x86_64"
license="GPL"
makedepends="nasm perl util-linux-dev"
depends="mtools blkid mkinitfs"
triggers="syslinux.trigger=/boot"
install="syslinux.post-upgrade"
options="textrels"
ldpath="/usr/share/syslinux"
source="http://www.kernel.org/pub/linux/utils/boot/syslinux/${pkgver%%.*}.xx/$pkgname-$pkgver.tar.bz2
	update-extlinux.conf
	update-extlinux
	"
subpackages="$pkgname-doc"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	unset LDFLAGS
	make installer || return 1
}

package() {
	cd "$_builddir"
	make INSTALLROOT="$pkgdir" MANDIR=/usr/share/man local-install

	mkdir -p "$pkgdir"/etc/update-extlinux.d
	cp "$srcdir"/update-extlinux.conf "$pkgdir"/etc/
	cp "$srcdir"/update-extlinux "$pkgdir"/sbin/
}

md5sums="6c21244277fa4e444967ba45469de863  syslinux-5.01.tar.bz2
7ef73a7a858b8aa1ac6635d6391ac8e5  update-extlinux.conf
7bf8f54cedf0bd30909e61559d19dc9c  update-extlinux"
sha256sums="2e4955dfb1f58ed7a4f82f50fbc2ebd4ca18f8d8399803b033a74fdaf137a252  syslinux-5.01.tar.bz2
ee970729e981ee1756ffe97f0cdda652d1e82773993310eeecfca1f2ddbe718b  update-extlinux.conf
d661e0bdd1fedead06ab54ec4ee548473a2a3a401c52aa0287f9c17782626e8e  update-extlinux"
sha512sums="0c075aff27bacf8c1958a344cb118ba20c5869d4b37deac156e0cf0ae8cdc6deab58d611c95d62b377b921e579a058f45306ba6253445ecfc6cd8437737407ab  syslinux-5.01.tar.bz2
d0c5a0891841623c8905864caadf58866d4b9f1f893725712c6813af6cb6d64f0c08f2a3783fda56fcb1cbcc1a0a73e65562339f5591f38ee5cb213b2d16c680  update-extlinux.conf
6024530fc79465cb75ecedb7e3dcdd6834700dd315acd47e061b46c7c6df784f1e53f925038bd64451c161deb97fc16d7c2eeb664969d17bd10d3f2e46ccb446  update-extlinux"