blob: a37cc512e38c9ee3c590f75fe4ab35ae1e0515b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 2004-2011 Sabayon Linux
# Copyright 2012 Rogentos Linux
# Original Authors Sabayon Team
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
DESCRIPTION="Rogentos System Release virtual package"
HOMEPAGE="http://rogentos.ro/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
DEPEND=""
RDEPEND="app-eselect/eselect-python
dev-lang/python:2.7
sys-devel/base-gcc:4.6
sys-devel/gcc-config"
ROGENTOS_VER="${PV}"
ROGENTOS_HEADER="Rogentos Linux"
ROGENTOS_RELEASE="rogentos-release"
src_unpack () {
if use x86; then
echo "${ROGENTOS_HEADER} x86 ${ROGENTOS_VER}" > "${ROGENTOS_RELEASE}"
else
echo "${ROGENTOS_HEADER} amd64 ${ROGENTOS_VER}" > "${ROGENTOS_RELEASE}"
fi
}
src_install () {
insinto /etc
doins rogentos-release
dosym /etc/rogentos-release /etc/system-release
# Adding sabayon anti-fork bomb
insinto /etc/security/limits.d
doins "${FILESDIR}/00-sabayon-anti-fork-bomb.conf"
}
pkg_postinst() {
# Setup Python 2.7
eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 --ignore 3.3 --ignore 3.4
}
|