summaryrefslogtreecommitdiff
path: root/i486-stage2/syslinux/DESCR
blob: d03b11dee7794d6611eeb2c99a063b6e48de2799 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# disable python
sed -i "/makedepends=/s/python2//" PKGBUILD
sed -i "s/make PYTHON=python2/make/" PKGBUILD

# no documentation
sed -i "/makedepends=/s/asciidoc//" PKGBUILD

# no upx compression
sed -i "/makedepends=/s/upx//" PKGBUILD

# build BIOS version only for i486
sed -i '/_targets/s/efi32//g' PKGBUILD
sed -i '3!N; /prepare()/ a \  sed -i "/all_firmware :=/s/efi32 efi64//g" Makefile' PKGBUILD

# precompute the menues which are generated with python
sed -i 's@source=(@source=(syslinux-6.03-precomputed-python-menues.patch @' PKGBUILD
sed -i "s@sha1sums=(@sha1sums=('4f92057c1dca02f8b6d4a71170183f89c7d4bd8f' @" PKGBUILD
sed -i '/patch -p1/ a \  patch -Np1 -i "${srcdir}/syslinux-6.03-precomputed-python-menues.patch"' PKGBUILD