dev-libs/wiringpi: Drop package.

This commit is contained in:
Nils "holgersson" Freydank 2017-06-10 09:44:59 +02:00
parent 4d48c68489
commit 0f484562fa
No known key found for this signature in database
GPG Key ID: 389761F3E6B0AABE
3 changed files with 0 additions and 56 deletions

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>holgersson@posteo.de</email>
<name>holgersson</name>
</maintainer>
<use>
<flag name="examples-src">Inclusion of examples in examples/, stored in /usr/share/doc/${P}/</flag>
<flag name="gpio">Build also gpio binary</flag>
</use>
</pkgmetadata>

View File

@ -1,39 +0,0 @@
# Copyright 2015-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils toolchain-funcs git-r3
DESCRIPTION="A 'wiring' like library for the Raspberry Pi (inkluding GPIO tool)"
HOMEPAGE="http://wiringpi.com/"
EGIT_REPO_URI="git://git.drogon.net/wiringPi"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS=""
IUSE="examples-src +gpio"
src_compile() {
emake -C wiringPi
emake -C devLib INCLUDE="-I../wiringPi"
pushd wiringPi
ln -s libwiringPi* libwiringPi.so
popd
pushd devLib
ln -s libwiringPiDev* libwiringPiDev.so
popd
use gpio && emake -C gpio LDFLAGS="-L../wiringPi -L../devLib ${LDFLAGS}" INCLUDE="-I../wiringPi -I../devLib"
}
src_install() {
doheader wiringPi/*.h devLib/*.h
dolib wiringPi/libwiringPi.so.2.32
dolib devLib/libwiringPiDev.so.2.32
dosym libwiringPi.so.2.32 /usr/$(get_libdir)/libwiringPi.so
dosym libwiringPiDev.so.2.32 /usr/$(get_libdir)/libwiringPiDev.so
use gpio && dobin gpio/gpio
dodoc README.TXT
use examples-src && dodoc examples/*.c
}

View File

@ -1,8 +1,3 @@
# Nils "holgersson" Freydank <holgersson@posteo.de> (18 Apr 2017)
# Masking for removal in 30d
# I won't maintain it any longer and the ebuild is outdated.
=dev-libs/wiringpi-9999
# Nils "holgersson" Freydank <holgersson@posteo.de> (10 May 2017)
# Masking for removal in 30d
# The ebuilds will get merged into the main tree.