PKGBUILDs/extra/syslinux/PKGBUILD

27 lines
883 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 48136 2009-07-31 19:43:45Z tpowa $
# Contributor: lowercase
# Maintainer: Dale Blount <dale@archlinux.org>
pkgname=syslinux
pkgver=3.82
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="a boot loader for the Linux operating system which operates off an MS-DOS/Windows FAT filesystem."
url="http://syslinux.org"
license=(GPL)
depends=('perl' 'glibc' 'mtools')
makedepends=(nasm perl)
conflicts=()
replaces=()
backup=()
install=
source=(http://www.kernel.org/pub/linux/utils/boot/syslinux/$pkgname-$pkgver.tar.bz2)
#options=(!makeflags)
build() {
cd $startdir/src/$pkgname-$pkgver
sed -i -e 's#win32/syslinux.exe##g' Makefile
make || return 1
make SBINDIR=$startdir/pkg/usr/sbin BINDIR=$startdir/pkg/usr/bin INCDIR=$startdir/pkg/usr/include MANDIR=$startdir/pkg/usr/share/man AUXDIR=$startdir/pkg/usr/lib/syslinux install
}
md5sums=('c9f4e73e385c86b3a8faf9b615a04836')