Commit dd4335a2 authored by philm's avatar philm

syslinux: bump to 4.05

parent 95bb3fad
# $Id: PKGBUILD 77410 2010-04-12 17:51:25Z tpowa $
# Contributor: lowercase
# Maintainer: Dale Blount <dale@archlinux.org>
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Drake Justice <djustice[at]chakra-project[dot]org>
pkgname=syslinux
pkgver=3.86
pkgver=4.05
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' 'perl-passwd-md5' 'perl-digest-sha1' 'glibc' 'mtools')
makedepends=(nasm)
source=(http://www.kernel.org/pub/linux/utils/boot/syslinux/$pkgname-$pkgver.tar.bz2)
pkgdesc="Collection of boot loaders that boot from FAT, ext2/3/4 and btrfs filesystems, from CDs and via PXE"
url="http://syslinux.zytor.com/"
license=('GPL2')
depends=('perl' 'glibc')
optdepends=('perl-passwd-md5: For md5pass'
'perl-digest-sha1: For sha1pass'
'mtools: For mkdiskimage and syslinux'
)
makedepends=('nasm')
backup=('boot/syslinux/syslinux.cfg')
install=syslinux.install
source=(http://www.kernel.org/pub/linux/utils/boot/syslinux/$pkgname-${pkgver}.tar.bz2
syslinux-dont-build-dos-windows-targets.patch
syslinux.cfg
syslinux-install_update)
md5sums=('82299242418385da1274c9479a778cb2'
'1528c376e43f0eaccaa80d8ad1bc13b4'
'1748911710a7a93de11babbedb50325e'
'b5b4953c0a5a01cd16441402f6321765')
build() {
LDFLAGS=""
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
# Do not try to build syslinux with our default LDFLAGS, it will fail
unset LDFLAGS
cd "$srcdir"/$pkgname-${pkgver}
# Do not try to build the Windows or DOS installers
patch -p1 -i "$srcdir"/syslinux-dont-build-dos-windows-targets.patch
# Fix FHS manpage path
sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
make
}
package() {
cd "$srcdir"/$pkgname-${pkgver}
make INSTALLROOT="$pkgdir" AUXDIR=/usr/lib/syslinux install
# Install the default configuration
install -D -m644 "$srcdir"/syslinux.cfg "$pkgdir"/boot/syslinux/syslinux.cfg
# Install the installation and update script
# This script is maintained at git://gist.github.com/772138.git
install -D -m755 "$srcdir"/syslinux-install_update "$pkgdir"/usr/sbin/syslinux-install_update
}
md5sums=('d6fb0231e82190b4932b2aa20274911a')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment