summaryrefslogtreecommitdiff
path: root/syslinux/Pkgfile
blob: 73624663acb03fe82c2b864b60e70188767c40c4 (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.06
    9 release=1
   10 source=(http://www.kernel.org/pub/linux/utils/boot/$name/$name-$version.tar.xz \
   11         avoid-ext2_fs.patch)
   12 
   13 build() {
   14   cd $name-$version
   15 
   16   # compilation will fail with LDFLAGS
   17   unset LDFLAGS
   18 
   19   # fix to install extlinux in /usr/bin
   20   sed -i Makefile -e 's|SBINDIR|BINDIR|g'
   21 
   22   make clean
   23   make OPTFLAGS="$CFLAGS" installer
   24   make OPTFLAGS="$CFLAGS" INSTALLROOT=$PKG install
   25 
   26   # fix perms when building with fakeroot
   27   find $PKG/usr/share/$name/com32 -type d -perm -g+s -exec chmod -v g-s {} \;
   28 }

Generated by cgit