summaryrefslogtreecommitdiffstats
path: root/syslinux/Pkgfile
blob: 847a1a8dc7e49d713715d71e6c6bd57c4638d220 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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
# Run on: mtools,nasm

name=syslinux
version=4.03
release=2
source=(http://www.kernel.org/pub/linux/utils/boot/syslinux/4.xx/$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
}