mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-18 23:38:57 -04:00
27 lines
589 B
Bash
27 lines
589 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit git-r3 eutils
|
|
|
|
DESCRIPTION="Enables USB charging for Apple devices."
|
|
HOMEPAGE="https://github.com/mkorenkov/ipad_charge"
|
|
EGIT_REPO_URI="https://github.com/mkorenkov/ipad_charge.git"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS=""
|
|
IUSE=""
|
|
|
|
DEPEND="dev-libs/libusb:1"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S="${WORKDIR}/ipad_charge"
|
|
|
|
src_prepare(){
|
|
#sed -i 's|\/usr|\$\{DESTDIR\}\/usr|g' Makefile
|
|
#sed -i 's|\/etc|\$\{DESTDIR\}\/etc|g' Makefile
|
|
epatch "${FILESDIR}/${PN}-9999-makefile.patch"
|
|
}
|