app-mobilephone/ipad-charge - 20210107 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =app-mobilephone/ipad-charge-20210107

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-mobilephone/ipad-charge-20210107

Or alternatively:

emerge --autounmask-write -a =app-mobilephone/ipad-charge-20210107

Package Information

Description:
Helper utility to enable charging with Apple mobile devices such as the iPad.
Homepage:
https://github.com/mkorenkov/ipad_charge
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
20210107 8 ~amd64 ~ppc64 ~x86 0
View Raw Ebuild
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit udev

DESCRIPTION="Helper utility to enable charging with Apple mobile devices such as the iPad."
HOMEPAGE="https://github.com/mkorenkov/ipad_charge"
SHA="f070404d27affea6963024d852dd2e4941153792"
SRC_URI="https://github.com/mkorenkov/ipad_charge/archive/${SHA}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN/-/_}-${SHA}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"

DEPEND="virtual/libusb:1"
RDEPEND="${DEPEND}"

src_prepare() {
	# shellcheck disable=SC2016
	sed -r -e 's/gcc -Wall/$(CC) -Wall $(CFLAGS)/' -i Makefile
	default
}

src_install() {
	dobin ipad_charge
	udev_newrules "95-${PN/-/_}.rules" "95-${PN}.rules"
	einstalldocs
}

Inherited Eclasses

Dependencies

DEPEND

virtual/libusb:1

RDEPEND

virtual/libusb:1

Manifest for 20210107

Type File Size Source URLs
DIST ipad-charge-20210107.tar.gz 12250 bytes https://github.com/mkorenkov/ipad_charge/archive/f070404d27affea6963024d852dd2e4941153792.tar.gz