summaryrefslogtreecommitdiff
path: root/packages/sys-apps/gentoo-functions/gentoo-functions-0.12.exheres-0
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sys-apps/gentoo-functions/gentoo-functions-0.12.exheres-0')
-rw-r--r--packages/sys-apps/gentoo-functions/gentoo-functions-0.12.exheres-023
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/sys-apps/gentoo-functions/gentoo-functions-0.12.exheres-0 b/packages/sys-apps/gentoo-functions/gentoo-functions-0.12.exheres-0
new file mode 100644
index 0000000..44a212c
--- /dev/null
+++ b/packages/sys-apps/gentoo-functions/gentoo-functions-0.12.exheres-0
@@ -0,0 +1,23 @@
+# Copyright 2018 Redcore Linux Project
+# Distributed under the terms of the GNU General Public License v2
+
+require flag-o-matic
+require github [ user=gentoo ]
+
+HOMEPAGE="https://www.gentoo.org"
+
+SUMMARY="Base functions required by all gentoo systems"
+LICENCES="GPL-2"
+SLOT="0"
+
+PLATFORMS="~amd64 ~x86"
+
+DEFAULT_SRC_INSTALL_PARAMS=(
+ ROOTSBINDIR=/usr/$(exhost --target)/bin
+ ROOTLIBEXECDIR=/usr/$(exhost --target)/libexec/gentoo
+)
+
+src_prepare() {
+ append-cppflags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
+}
+