add local overlay

This commit is contained in:
Anton Schubert 2016-05-08 14:09:54 +02:00
commit 4883c62e9a
68 changed files with 2719 additions and 0 deletions

View file

@ -0,0 +1,41 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
inherit autotools eutils git-2 udev
DESCRIPTION="iPhone USB Ethernet Driver for Linux pairing helper"
HOMEPAGE="http://giagio.com/wiki/moin.cgi/iPhoneEthernetDriver"
SRC_URI=""
EGIT_REPO_URI="git://github.com/dgiagio/ipheth.git/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="udev"
RDEPEND="app-pda/libimobiledevice"
DEPEND="${RDEPEND}"
src_compile() {
emake -C ipheth-pair || die
}
src_install() {
exeinto /lib/udev
doexe ${WORKDIR}/${P}/${PN}/${PN}
udev_dorules "${WORKDIR}/${P}/${PN}"/90-iphone-tether.rules
if ! use udev; then
rm "${ED}"/$(get_udevdir)/rules.d/90-iphone-tether.rules
rmdir -p "${ED}"/$(get_udevdir)/rules.d
fi
}
pkg_postinst() {
if use udev; then
udev_reload
fi
}