summaryrefslogtreecommitdiffstats
path: root/extra/syslinux/Pkgfile
blob: 56b499494010540f962546b1fb85d1aa6abadce5 (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, perl, glibc
# Run on:

name=syslinux
version=4.03
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
}