parent
397871244a
commit
00922003a8
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils
|
||||
|
||||
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="Templates for calculate utilities 2.2"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="~sys-apps/calculate-lib-2.2.17"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${A}"
|
||||
cd "${S}"
|
||||
|
||||
# fix grub2 default config
|
||||
epatch "${FILESDIR}/calculate-templates-2.2.17-fix_default_grub.patch"
|
||||
# fix nm-applets (kde,gnome)
|
||||
epatch "${FILESDIR}/calculate-templates-2.2.17-fix_nm_applets.patch"
|
||||
# fix conf.d/net
|
||||
epatch "${FILESDIR}/calculate-templates-2.2.17-fix_confdnet.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/calculate/templates
|
||||
insinto /usr/share/calculate/templates
|
||||
doins -r *
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
commit 65d15784982b020953cc131947893efed6360f26
|
||||
Author: Mike Hiretsky <mh@calculate.ru>
|
||||
Date: Fri Jun 24 10:26:29 2011 +0400
|
||||
|
||||
Remove empty route from conf.d/net.
|
||||
|
||||
diff --git a/install/1merge/openrc/conf.d/net b/install/1merge/openrc/conf.d/net
|
||||
index a40ea98..ab11f5b 100644
|
||||
--- a/install/1merge/openrc/conf.d/net
|
||||
+++ b/install/1merge/openrc/conf.d/net
|
||||
@@ -5,18 +5,26 @@ modules="!plug"
|
||||
#os_install_linux_system#
|
||||
#?list(os_install_net_interfaces,0)!=&&list(os_install_net_dhcp_set,0)!=on&&list(os_install_net_ip,0)!=#
|
||||
config_#-list(os_install_net_interfaces,0)-#=( "#-list(os_install_net_ip,0)-#/#-list(os_install_net_cidr,0)-#" )
|
||||
+#list#
|
||||
+#?list(os_install_net_interfaces,0)!=&&list(os_install_net_dhcp_set,0)!=on&&list(os_install_net_ip,0)!=&&list(os_install_net_route,0)!=#
|
||||
routes_#-list(os_install_net_interfaces,0)-#="#-list(os_install_net_route,0)-#"
|
||||
#list#
|
||||
#?list(os_install_net_interfaces,1)!=&&list(os_install_net_dhcp_set,1)!=on&&list(os_install_net_ip,1)!=#
|
||||
config_#-list(os_install_net_interfaces,1)-#=( "#-list(os_install_net_ip,1)-#/#-list(os_install_net_cidr,1)-#" )
|
||||
+#list#
|
||||
+#?list(os_install_net_interfaces,1)!=&&list(os_install_net_dhcp_set,1)!=on&&list(os_install_net_ip,1)!=&&list(os_install_net_route,1)!=#
|
||||
routes_#-list(os_install_net_interfaces,1)-#="#-list(os_install_net_route,1)-#"
|
||||
#list#
|
||||
#?list(os_install_net_interfaces,2)!=&&list(os_install_net_dhcp_set,2)!=on&&list(os_install_net_ip,2)!=#
|
||||
config_#-list(os_install_net_interfaces,2)-#=( "#-list(os_install_net_ip,2)-#/#-list(os_install_net_cidr,2)-#" )
|
||||
+#list#
|
||||
+#?list(os_install_net_interfaces,2)!=&&list(os_install_net_dhcp_set,2)!=on&&list(os_install_net_ip,2)!=&&list(os_install_net_route,2)!=#
|
||||
routes_#-list(os_install_net_interfaces,2)-#="#-list(os_install_net_route,2)-#"
|
||||
#list#
|
||||
#?list(os_install_net_interfaces,3)!=&&list(os_install_net_dhcp_set,3)!=on&&list(os_install_net_ip,3)!=#
|
||||
config_#-list(os_install_net_interfaces,3)-#=( "#-list(os_install_net_ip,3)-#/#-list(os_install_net_cidr,3)-#" )
|
||||
+#list#
|
||||
+#?list(os_install_net_interfaces,3)!=&&list(os_install_net_dhcp_set,3)!=on&&list(os_install_net_ip,3)!=&&list(os_install_net_route,3)!=#
|
||||
routes_#-list(os_install_net_interfaces,3)-#="#-list(os_install_net_route,3)-#"
|
||||
#list#
|
||||
#?os_install_net_dns!=#
|
@ -0,0 +1,36 @@
|
||||
# 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.17-r1
|
||||
=sys-apps/calculate-templates-2.2.17-r3
|
||||
=sys-apps/calculate-lib-2.2.17-r1
|
||||
|
||||
cl_assemble? ( =sys-apps/calculate-assemble-2.2.17 )
|
||||
cl_builder? ( =sys-apps/calculate-builder-2.2.17 )
|
||||
cl_client? ( =sys-apps/calculate-client-2.2.17 )
|
||||
cl_desktop? ( =sys-apps/calculate-desktop-2.2.17 )
|
||||
cl_installgui? ( =app-misc/calculate-install-gui-2.2.17 )
|
||||
|
||||
cl_server? ( =sys-apps/calculate-server-2.1.14-r2 )
|
||||
"
|
||||
|
Loading…
Reference in new issue