opt/syslinux/Pkgfile
2013-06-25 10:49:56 +02:00

27 lines
759 B
Plaintext

# Description: Collection of boot loaders for the Linux operating system
# URL: http://syslinux.zytor.com/
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on: mtools perl
name=syslinux
version=5.10
release=1
source=(http://www.kernel.org/pub/linux/utils/boot/$name/$name-$version.tar.xz)
build() {
cd $name-$version
# fix to install extlinux in /usr/bin
sed -i Makefile -e 's|SBINDIR|BINDIR|g'
make clean
make OPTFLAGS="$CFLAGS" installer
make OPTFLAGS="$CFLAGS" -C utils
make OPTFLAGS="$CFLAGS" -C com32
make OPTFLAGS="$CFLAGS" INSTALLROOT=$PKG install
# fix perms when building with fakeroot
find $PKG/usr/share/$name/com32 -type d -perm -g+s -exec chmod -v g-s {} \;
}