summaryrefslogtreecommitdiffstats
path: root/extra/syslinux/Pkgfile
blob: 310f179a10cd40b1cdf9fdfc1bf63e311f55dcdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Description: Permet de démarrer Linux sur une partition autre que Linux
# URL: http://syslinux.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: mtools, nasm, perl, glibc

name=syslinux
version=4.01
release=1
source=(http://www.kernel.org/pub/linux/utils/boot/syslinux/$name-$version.tar.bz2)

build() {
	cd $name-$version
	sed -i "s|win32/syslinux.exe||g" Makefile
	make
	make SBINDIR=$PKG/usr/sbin BINDIR=$PKG/usr/bin INCDIR=$PKG/usr/include MANDIR=$PKG/usr/share/man AUXDIR=$PKG/usr/lib/syslinux install
}