You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/sys-apps/calculate-builder/calculate-builder-2.2.31-r1...

53 lines
1.6 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2:2.7"
RESTRICT_PYTHON_ABIS="2.4 2.5 2.6 3.*"
inherit distutils eutils
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2
http://mirror.yandex.ru/calculate/calculate2/${PN}/${P}.tar.bz2"
DESCRIPTION="Builder tasks utilities for Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
DEPEND=">=sys-kernel/calckernel-3.4.18
~sys-apps/calculate-lib-2.2.31
!<sys-apps/calculate-1.4.0_p20100921
>=app-cdr/cdrtools-3.01_alpha13
>=sys-boot/grub-2.00-r3
>=sys-boot/syslinux-4.06
sys-fs/squashfs-tools"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# remove depricated templates,UEFI hybrid
epatch "${FILESDIR}/calculate-builder-2.2.31-r4.patch"
# fix version of calculate builder to 2.2.32 for using iso grub templates
epatch "${FILESDIR}/calculate-builder-2.2.31-fix_version.patch"
epatch "${FILESDIR}/calculate-builder-2.2.31-fix_version2.patch"
# fix update grub-2.00
epatch "${FILESDIR}/calculate-builder-2.2.31-grub2.patch"
# fix isohybrid for i686
epatch "${FILESDIR}/calculate-builder-2.2.31-fix_isohybrid.patch"
# discard clt
epatch "${FILESDIR}/calculate-builder-2.2.31-discard_clt.patch"
# layout.conf need
epatch "${FILESDIR}/calculate-builder-2.2.31-fix_layoutconf.patch"
# fix make image
epatch "${FILESDIR}/calculate-builder-2.2.31-fiximage.patch"
# improve conf.d/modules
epatch "${FILESDIR}/calculate-builder-2.2.31-cpufreq.patch"
}