summaryrefslogtreecommitdiffstats
path: root/extra/syslinux/Pkgfile
blob: 027f86d888d01f7bac9d85c368a11bd25567059a (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.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
}