From efeab76bf281081ff9fa0c342a1a92f1497094fd Mon Sep 17 00:00:00 2001 From: hasufell Date: Mon, 15 Feb 2016 02:04:10 +0100 Subject: [PATCH] sys-apps/gentoo-functions: initial import of version 0.10 --- metadata/categories.conf | 1 + .../gentoo-functions-0.10.exheres-0 | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 packages/sys-apps/gentoo-functions/gentoo-functions-0.10.exheres-0 diff --git a/metadata/categories.conf b/metadata/categories.conf index 82340c4..74acaf8 100644 --- a/metadata/categories.conf +++ b/metadata/categories.conf @@ -6,6 +6,7 @@ games-board games-rpg games-strategy sci-mathematics +sys-apps x11-apps x11-plugins x11-themes diff --git a/packages/sys-apps/gentoo-functions/gentoo-functions-0.10.exheres-0 b/packages/sys-apps/gentoo-functions/gentoo-functions-0.10.exheres-0 new file mode 100644 index 0000000..19b2ccd --- /dev/null +++ b/packages/sys-apps/gentoo-functions/gentoo-functions-0.10.exheres-0 @@ -0,0 +1,28 @@ +# Copyright 2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 +# +# Based in part upon 'gentoo-functions-0.10.ebuild' from Gentoo, which is: +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +require flag-o-matic + + +HOMEPAGE="https://www.gentoo.org" +DOWNLOADS="https://github.com/gentoo/${PN}/archive/${PV}.tar.gz -> ${PNV}.tar.gz" + +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() { + export CC=$(exhost --tool-prefix)cc + append-cppflags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE +}