add local overlay
This commit is contained in:
commit
4883c62e9a
68 changed files with 2719 additions and 0 deletions
41
app-pda/ipheth-pair/ipheth-pair-9999.ebuild
Normal file
41
app-pda/ipheth-pair/ipheth-pair-9999.ebuild
Normal 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
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue