blob: a21c6de84804627d36f5394555313a23d2bde225 (
plain)
1 # Description: Collection of boot loaders for the Linux operating system
2 # URL: http://syslinux.zytor.com/
3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
4 # Packager: Jose V Beneyto, sepen at crux dot nu
5 # Depends on: mtools perl
6
7 name=syslinux
8 version=4.04
9 release=2
10 source=(http://www.kernel.org/pub/linux/utils/boot/$name/$name-$version.tar.bz2)
11
12 build() {
13 cd $name-$version
14
15 # compilation will fail with LDFLAGS
16 unset LDFLAGS
17
18 # fix to install extlinux in /usr/bin
19 sed -i Makefile -e 's|SBINDIR|BINDIR|g'
20
21 make clean
22 make OPTFLAGS="$CFLAGS" installer
23 make OPTFLAGS="$CFLAGS" INSTALLROOT=$PKG install
24
25 # fix perms when building with fakeroot
26 find $PKG/usr/share/$name/com32 -type d -perm -g+s -exec chmod -v g-s {} \;
27 }
|