summaryrefslogtreecommitdiff
path: root/syslinux/Pkgfile
diff options
context:
space:
mode:
authorJose V Beneyto <jose.beneyto@eslife.es>2014-12-05 11:50:30 +0000
committerJose V Beneyto <jose.beneyto@eslife.es>2014-12-05 11:50:43 +0000
commit75d796114658d7ff7d62f6275c431e8302a52515 (patch)
tree8ec0b005247b5bc356957e109c9584f01f9a9503 /syslinux/Pkgfile
parentd493739a7bde7c235493f1e5748809fe6d276066 (diff)
downloadopt-75d796114658d7ff7d62f6275c431e8302a52515.tar.gz
opt-75d796114658d7ff7d62f6275c431e8302a52515.tar.xz
syslinux: updated to 6.03, fixed deps and cleaned up
Diffstat (limited to 'syslinux/Pkgfile')
-rw-r--r--syslinux/Pkgfile17
1 files changed, 6 insertions, 11 deletions
diff --git a/syslinux/Pkgfile b/syslinux/Pkgfile
index ebac95a07..dce26ef8c 100644
--- a/syslinux/Pkgfile
+++ b/syslinux/Pkgfile
@@ -2,25 +2,20 @@
# 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
+# Depends on: mtools perl python
name=syslinux
-version=5.10
+version=6.03
release=1
-source=(http://www.kernel.org/pub/linux/utils/boot/$name/$name-$version.tar.xz)
+source=(http://www.kernel.org/pub/linux/utils/boot/$name/$name-$version.tar.xz \
+ $name-Makefile.patch)
build() {
cd $name-$version
- # fix to install extlinux in /usr/bin
- sed -i Makefile -e 's|SBINDIR|BINDIR|g'
+ patch -p0 -i $SRC/$name-Makefile.patch
- make clean
make OPTFLAGS="$CFLAGS" installer
- make OPTFLAGS="$CFLAGS" -C utils
- make OPTFLAGS="$CFLAGS" -C com32
- make OPTFLAGS="$CFLAGS" INSTALLROOT=$PKG install
+ 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 {} \;
}

Generated by cgit