From 82e9011b49f055d0c02d931807eb08590ec03ae7 Mon Sep 17 00:00:00 2001 From: mhiretskiy Date: Wed, 20 May 2009 15:09:54 +0000 Subject: [PATCH] =?UTF-8?q?Ebuild=20=D0=B4=D0=BB=D1=8F=20calcboot=203.75.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.calculate.ru/overlay@1450 c91db197-33c1-4113-bf15-f8a5c547ca64 --- sys-boot/calcboot/Manifest | 2 + sys-boot/calcboot/calcboot-3.75.1.ebuild | 61 ++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 sys-boot/calcboot/calcboot-3.75.1.ebuild diff --git a/sys-boot/calcboot/Manifest b/sys-boot/calcboot/Manifest index a74868e54..ddff763f5 100644 --- a/sys-boot/calcboot/Manifest +++ b/sys-boot/calcboot/Manifest @@ -1,5 +1,7 @@ AUX syslinux-3.72-nopie.patch 412 RMD160 57ff5acb7ea790bb711d4a4b1bc44ab4a94ce2ae SHA1 659c103a7a6fc9c023d5c236813639e409855d72 SHA256 9902bcf95ae5c2bdf52d1e726a9f76f350bd4b134d16ca43de7bf60201428f32 AUX syslinux-3.72-nostrip.patch 1230 RMD160 c22a5b7fce9aff1ef235b57133fc3a0831183bb5 SHA1 55e7bcbbfc14dc9f3f9faf48cdb2c49d0072c150 SHA256 9c32ee6f7fa24c2cbf00088963454ee8d761fed9065f5353737a97c2edc2f416 DIST calcboot-3.75.0.tar.bz2 22276 RMD160 e9eb00d8f911e89e855bbf2d1f82cbd237e9059e SHA1 e79db97237764a25965480e3d194c896465b8f8b SHA256 fc2b99e3e75fe72570f1e751390182964924df06e137e8dc404ef06159d3ec8a +DIST calcboot-3.75.1.tar.bz2 22296 RMD160 db65b9b20dfd877f6ada5090c04b925fc2099b92 SHA1 8f025f530317b578da42d747395cc872f079d0d2 SHA256 640a97751f4af5b7a7da1307d0c7f8902097ddcaefe26217f3f0b6c0494e54b3 DIST syslinux-3.75.tar.bz2 3110916 RMD160 05e5202649bbf4c8835df41cd797cd452de65a76 SHA1 8b97a708c1dc8bcb0505fab59b143368ed25b60b SHA256 1161ef0c248b931a872b92b9fe29a1ad54be2428976f19b8d88a8aa95cb3d65f EBUILD calcboot-3.75.0.ebuild 1641 RMD160 eb76f05637f8250eec6c3e73d25038283990959b SHA1 fb35e7b04d9c7ffcb0f6f7dbc8daa8a97724df9f SHA256 31b67f755650bc27b1029d1ade8bb7f7d9417e89cd89132b069604967df4093a +EBUILD calcboot-3.75.1.ebuild 1641 RMD160 eb76f05637f8250eec6c3e73d25038283990959b SHA1 fb35e7b04d9c7ffcb0f6f7dbc8daa8a97724df9f SHA256 31b67f755650bc27b1029d1ade8bb7f7d9417e89cd89132b069604967df4093a diff --git a/sys-boot/calcboot/calcboot-3.75.1.ebuild b/sys-boot/calcboot/calcboot-3.75.1.ebuild new file mode 100644 index 000000000..e65c47f19 --- /dev/null +++ b/sys-boot/calcboot/calcboot-3.75.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-3.75.ebuild,v 1.1 2009/04/29 15:51:18 jer Exp $ + +inherit eutils + +[[ ${PV} =~ ([0-9]+)\.([0-9]+)\.([0-9]+) ]] + +SYSLINUX_PV=${BASH_REMATCH[1]}.${BASH_REMATCH[2]} +SYSLINUX_PN=syslinux +SYSLINUX_P=${SYSLINUX_PN}-${SYSLINUX_PV} +SYSLINUX_PF=${SYSLINUX_P} + +DESCRIPTION="SysLinux with calcboot module calcmenu.c32" +HOMEPAGE="http://www.calculate-linux.ru/calcboot" +SRC_URI="mirror://kernel/linux/utils/boot/syslinux/${SYSLINUX_P}.tar.bz2 + ftp://ftp.calculate.ru/pub/calculate/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +RDEPEND="!sys-boot/syslinux" +DEPEND="${RDEPEND}" + +# This ebuild is a departure from the old way of rebuilding everything in syslinux +# This departure is necessary since hpa doesn't support the rebuilding of anything other +# than the installers. + +# removed all the unpack/patching stuff since we aren't rebuilding the core stuff anymore + +S=${WORKDIR}/${SYSLINUX_P} + +src_unpack() { + unpack ${SYSLINUX_P}.tar.bz2 + cd "${S}" + cd com32/menu + unpack ${P}.tar.bz2 + cd ../.. + epatch "${FILESDIR}"/${SYSLINUX_PN}-3.72-nopie.patch + # Don't prestrip, makes portage angry + epatch "${FILESDIR}"/${SYSLINUX_PN}-3.72-nostrip.patch + + rm -f gethostip #bug 137081 +} + +src_compile() { + emake installer || die + cd com32 + emake || die +} + +src_install() { + emake INSTALLROOT="${D}" MANDIR=/usr/share/man local-install || die + PF=${SYSLINUX_PF} + dodoc README NEWS TODO doc/* + insinto /usr/share/syslinux + cd com32/menu + doins calcmenu.c32 +}