summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Solano Gómez <gentoo@sattvik.com>2013-04-06 09:15:55 -0500
committerDaniel Solano Gómez <gentoo@sattvik.com>2013-04-06 09:15:55 -0500
commit9d58ba43eacdda9a795bdb014651c2d4eae35bea (patch)
treea10df6faeb8a6a36a337c4b08b23539a8b3c2349 /profiles
parentMake patches function independent (diff)
downloadsattvik-9d58ba43eacdda9a795bdb014651c2d4eae35bea.tar.gz
sattvik-9d58ba43eacdda9a795bdb014651c2d4eae35bea.tar.bz2
sattvik-9d58ba43eacdda9a795bdb014651c2d4eae35bea.zip
Start adding new base Sattvik profile
Diffstat (limited to 'profiles')
-rw-r--r--profiles/sattvik/base/eapi1
-rw-r--r--profiles/sattvik/base/make.defaults21
-rwxr-xr-xprofiles/sattvik/base/profile.bashrc (renamed from profiles/sattvik/linux/amd64/13.0/profile.bashrc)8
-rw-r--r--profiles/sattvik/linux/amd64/13.0/make.defaults18
-rw-r--r--profiles/sattvik/linux/amd64/13.0/parent1
5 files changed, 27 insertions, 22 deletions
diff --git a/profiles/sattvik/base/eapi b/profiles/sattvik/base/eapi
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/profiles/sattvik/base/eapi
@@ -0,0 +1 @@
+5
diff --git a/profiles/sattvik/base/make.defaults b/profiles/sattvik/base/make.defaults
new file mode 100644
index 0000000..35bbe86
--- /dev/null
+++ b/profiles/sattvik/base/make.defaults
@@ -0,0 +1,21 @@
+CFLAGS="-march=native -O2 -pipe -frecord-gcc-switches"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${FFLAGS}"
+
+PORT_LOGDIR=/var/log/portage
+EMERGE_DEFAULT_OPTS="--verbose --keep-going --autounmask --autounmask-unrestricted-atoms --complete-graph --fail-clean --ask --backtrack=50"
+PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
+FEATURES="candy compress-build-logs downgrade-backup ebuild-locks fakeroot fail-clean news parallel-fetch protect-owned sandbox sfperms strict unmerge-backup unmerge-orphans unknown-features-warn userfetch userpriv usersandbox usersync xattr"
+
+PORTAGE_ELOG_CLASSES="*"
+PORTAGE_ELOG_SYSTEM="save mail:warn,error,log echo"
+PORTAGE_ELOG_MAILURI="root /usr/sbin/sendmail"
+PORTAGE_ELOG_MAILFROM="portage"
+PORTAGE_ELOG_MAILSUBJECT="[portage] \${HOST}: \${ACTION} \${PACKAGE}"
+
+
+USE="-berkdb caps -gdbm -gstreamer -introspection minimal -pcre -perl -python -tcpd -truetype vim-syntax xattr zsh-completion"
+
+
+# vim:set ft=gentoo-make-conf:
diff --git a/profiles/sattvik/linux/amd64/13.0/profile.bashrc b/profiles/sattvik/base/profile.bashrc
index d863e48..dc6b71a 100755
--- a/profiles/sattvik/linux/amd64/13.0/profile.bashrc
+++ b/profiles/sattvik/base/profile.bashrc
@@ -12,16 +12,16 @@ sattvik_profile_patches() {
patches_dirs+=("$patches_dir")
fi
done
-
+
local idx
local -a rev_patches_dirs
for (( idx=${#patches_dirs[@]}-1 ; idx>=0 ; idx-- )); do
rev_patches_dirs+=("${patches_dirs[idx]}")
done
-
+
local applied="${T}/sattvik_patch.log"
[[ -e ${applied} ]] && return 2
-
+
local patches_dir
for patches_dir in "${rev_patches_dirs[@]}"; do
local EPATCH_SOURCE check
@@ -40,7 +40,7 @@ sattvik_profile_patches() {
fi
done
done
-
+
echo "none" > "${applied}"
return 1
fi
diff --git a/profiles/sattvik/linux/amd64/13.0/make.defaults b/profiles/sattvik/linux/amd64/13.0/make.defaults
index f9b0b89..c625652 100644
--- a/profiles/sattvik/linux/amd64/13.0/make.defaults
+++ b/profiles/sattvik/linux/amd64/13.0/make.defaults
@@ -1,21 +1,3 @@
ACCEPT_KEYWORDS="~amd64"
-CFLAGS="-march=native -O2 -pipe -frecord-gcc-switches"
-CXXFLAGS="${CFLAGS}"
-PORT_LOGDIR=/var/log/portage
-EMERGE_DEFAULT_OPTS="--verbose --keep-going --autounmask --autounmask-unrestricted-atoms --complete-graph --fail-clean --ask --backtrack=50"
-PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
-FEATURES="candy compress-build-logs downgrade-backup ebuild-locks fakeroot fail-clean news parallel-fetch protect-owned sandbox sfperms strict unmerge-backup unmerge-orphans unknown-features-warn userfetch userpriv usersandbox usersync xattr"
-FFLAGS="${CFLAGS}"
-FCFLAGS="${FFLAGS}"
-
-PORTAGE_ELOG_CLASSES="*"
-PORTAGE_ELOG_SYSTEM="save mail:warn,error,log echo"
-PORTAGE_ELOG_MAILURI="root /usr/sbin/sendmail"
-PORTAGE_ELOG_MAILFROM="portage"
-PORTAGE_ELOG_MAILSUBJECT="[portage] \${HOST}: \${ACTION} \${PACKAGE}"
-
-
-USE="-berkdb -gdbm -gstreamer -introspection minimal -pcre -perl -python -tcpd truetype vim-syntax xattr zsh-completion"
-
# vim:set ft=gentoo-make-conf:
diff --git a/profiles/sattvik/linux/amd64/13.0/parent b/profiles/sattvik/linux/amd64/13.0/parent
index 4fbd0a7..8b4aef0 100644
--- a/profiles/sattvik/linux/amd64/13.0/parent
+++ b/profiles/sattvik/linux/amd64/13.0/parent
@@ -1 +1,2 @@
gentoo:default/linux/amd64/13.0
+:sattvik/base