You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/raspberrypi-userland/raspberrypi-userland-9999.e...

43 lines
784 B

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit cmake-utils flag-o-matic git-r3
DESCRIPTION="Raspberry Pi userspace tools and libraries"
HOMEPAGE="https://github.com/raspberrypi/userland"
SRC_URI=""
LICENSE="BSD"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND=""
RDEPEND=""
EGIT_REPO_URI="https://github.com/raspberrypi/userland"
pkg_setup() {
append-ldflags $(no-as-needed)
}
src_configure() {
local mycmakeargs=(
-DVMCS_INSTALL_PREFIX="/usr"
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
insinto /lib/udev/rules.d
doins "${FILESDIR}"/92-local-vchiq-permissions.rules
dodir /usr/share/doc/${PF}
mv "${D}"/usr/src/hello_pi "${D}"/usr/share/doc/${PF}/
rmdir "${D}"/usr/src
}