blob: 1f6884b4b43d5f7242d852d8c502694acc19924e (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=syslinux
pkgver=4.05
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"
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="82299242418385da1274c9479a778cb2 syslinux-4.05.tar.bz2
7ef73a7a858b8aa1ac6635d6391ac8e5 update-extlinux.conf
2414de8196826e20292825d69c75184b update-extlinux"
|