hasufell-repository/packages/sys-apps/gentoo-functions/gentoo-functions-0.12.exheres-0

28 lines
746 B
Bash
Raw Normal View History

# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# 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
2016-04-22 15:42:34 +00:00
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
}
2016-02-28 23:05:15 +00:00