opt/syslinux/Pkgfile

27 lines
759 B
Plaintext
Raw Normal View History

2010-08-31 11:32:45 +02:00
# 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
2013-06-25 10:49:43 +02:00
version=5.10
2013-01-10 01:45:43 +01:00
release=1
2013-06-25 10:49:43 +02:00
source=(http://www.kernel.org/pub/linux/utils/boot/$name/$name-$version.tar.xz)
2010-08-31 11:32:45 +02:00
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
2013-06-25 10:49:43 +02:00
make OPTFLAGS="$CFLAGS" -C utils
make OPTFLAGS="$CFLAGS" -C com32
2010-08-31 11:32:45 +02:00
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 {} \;
2010-08-31 11:32:45 +02:00
}