parent
936e642aab
commit
743b1c9c0e
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="The utilities for builder tasks of 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-install-2.2.22
|
||||
!<sys-apps/calculate-1.4.0_p20100921
|
||||
app-cdr/cdrkit
|
||||
sys-fs/squashfs-tools"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${A}"
|
||||
cd "${S}"
|
||||
|
||||
# dispatch conf execute
|
||||
epatch "${FILESDIR}/calculate-builder-2.2.22-dispatch_conf.patch"
|
||||
# support kernel 3
|
||||
epatch "${FILESDIR}/calculate-builder-2.2.22-kernel_3.patch"
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
commit f7c6a747a1a2a54b34725ce5bb1c577b24a365ef
|
||||
Author: Mike Hiretsky <mh@calculate.ru>
|
||||
Date: Tue Aug 30 09:34:54 2011 +0400
|
||||
|
||||
Add support 3.0 kernel compiling.
|
||||
|
||||
diff --git pym/cl_fill_builder.py pym/cl_fill_builder.py
|
||||
index 2b4d512..5835c08 100644
|
||||
--- pym/cl_fill_builder.py
|
||||
+++ pym/cl_fill_builder.py
|
||||
@@ -110,7 +110,13 @@ class fillVars(object, varsShare):
|
||||
kernelDirs = self.Get('cl_kernel_config_path')
|
||||
if not access(kernelDirs,R_OK):
|
||||
return ""
|
||||
- shortVerSearch = re.search("^\d+\.\d+.\d+",self.Get('cl_kernel_ver'),re.I)
|
||||
+ # check first number (3 or other kernel)
|
||||
+ tupleKernelVer = self.Get('cl_kernel_ver').split('.')
|
||||
+ if tupleKernelVer and tupleKernelVer[0] == '3':
|
||||
+ shortVerSearch = re.search("^\d+\.\d+",
|
||||
+ self.Get('cl_kernel_ver'),re.I)
|
||||
+ else:
|
||||
+ shortVerSearch = re.search("^\d+\.\d+.\d+",self.Get('cl_kernel_ver'),re.I)
|
||||
if shortVerSearch:
|
||||
shortVer = shortVerSearch.group()
|
||||
else:
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
|
||||
DESCRIPTION="Calculate Utilities meta package"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="
|
||||
cl_assemble
|
||||
cl_builder
|
||||
cl_client
|
||||
cl_desktop
|
||||
cl_installgui
|
||||
cl_server
|
||||
"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
=sys-apps/calculate-install-2.2.22-r1
|
||||
=sys-apps/calculate-templates-2.2.22-r1
|
||||
=sys-apps/calculate-lib-2.2.22-r1
|
||||
=sys-apps/calculate-i18n-2.2.22
|
||||
|
||||
cl_assemble? ( =sys-apps/calculate-assemble-2.2.22 )
|
||||
cl_builder? ( =sys-apps/calculate-builder-2.2.22-r2 )
|
||||
cl_client? ( =sys-apps/calculate-client-2.2.22 )
|
||||
cl_desktop? ( =sys-apps/calculate-desktop-2.2.22 )
|
||||
cl_installgui? ( =app-misc/calculate-install-gui-2.2.22 )
|
||||
|
||||
cl_server? ( =sys-apps/calculate-server-2.1.14-r6 )
|
||||
"
|
||||
|
Loading…
Reference in new issue