2008-10-25 07:40:27 +00:00
|
|
|
# Template file for 'syslinux'
|
|
|
|
pkgname=syslinux
|
2013-02-01 14:27:21 +00:00
|
|
|
version=5.01
|
2012-10-23 21:01:25 +00:00
|
|
|
revision=1
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="perl nasm libuuid-devel"
|
2008-10-25 07:40:27 +00:00
|
|
|
short_desc="A boot loader for the Linux operating system"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-29 18:02:29 +00:00
|
|
|
homepage="http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project"
|
|
|
|
license="GPL-2"
|
2012-10-23 21:01:25 +00:00
|
|
|
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.xz"
|
2013-02-01 14:27:21 +00:00
|
|
|
checksum=41320ae9c8211bb99b1322fdbf98a83d3bdc0f9a78291ad27f8512b12e16b411
|
2008-10-25 07:40:27 +00:00
|
|
|
|
2011-12-10 08:44:45 +00:00
|
|
|
do_build() {
|
2012-06-12 10:05:45 +00:00
|
|
|
unset CFLAGS LDFLAGS
|
2013-02-01 14:27:21 +00:00
|
|
|
sed 's|/usr/man|/usr/share/man|g' -i mk/syslinux.mk
|
2012-06-12 10:05:45 +00:00
|
|
|
make installer
|
2008-10-27 05:12:30 +00:00
|
|
|
}
|
2009-12-11 11:25:01 +00:00
|
|
|
|
2011-12-10 08:44:45 +00:00
|
|
|
do_install() {
|
2011-07-07 15:45:05 +00:00
|
|
|
make INSTALLROOT=${DESTDIR} install
|
2012-06-12 10:05:45 +00:00
|
|
|
vmove "sbin/*" usr/bin
|
2009-12-11 11:25:01 +00:00
|
|
|
}
|
2013-04-14 10:31:59 +00:00
|
|
|
|
|
|
|
syslinux_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|