mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-15 05:32:26 +01:00
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=syslinux
|
|
pkgver=4.06
|
|
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="0384ef35b724615074e77b1fc89d5b47 syslinux-4.06.tar.bz2
|
|
7ef73a7a858b8aa1ac6635d6391ac8e5 update-extlinux.conf
|
|
7bf8f54cedf0bd30909e61559d19dc9c update-extlinux"
|