aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-pda/libirecovery')
-rw-r--r--app-pda/libirecovery/Manifest3
-rw-r--r--app-pda/libirecovery/libirecovery-1.0.0.ebuild30
-rw-r--r--app-pda/libirecovery/libirecovery-9999.ebuild35
3 files changed, 68 insertions, 0 deletions
diff --git a/app-pda/libirecovery/Manifest b/app-pda/libirecovery/Manifest
new file mode 100644
index 0000000..e5dd512
--- /dev/null
+++ b/app-pda/libirecovery/Manifest
@@ -0,0 +1,3 @@
+DIST libirecovery-1.0.0.tar.bz2 340010 BLAKE2B f7b754e7661f4a132482efc3250ef5879ee6d8aad03896483dbdc204be0fd201f9bf22c353afca071d942eca2d2cdb42e42ace8324706913df49186a5297a39b SHA512 7e6f53766c85c714c2d4088e880f56486bcb4d198a9da1108d31f8f1a2444f45ac319a90a4706d00a24cbddc0af9ce8dddf267ba458fe3fa225cc14ea7150797
+EBUILD libirecovery-1.0.0.ebuild 612 BLAKE2B e7b25d3f10ce0fb31b4a2bca8acfb35a8cfbd4a895ac35c3906e7acf007c0a3b729dec11e455a9e7adc8f11d8ee9b453162f2dff4c9721dfc28a6cdbee6e0984 SHA512 331eb6e64955052cce38968aa853bbe686945eb24ab72e93df5161cea6ddba81e433fb71c9d00d2667165154a82b8d1bdc598de801e16fdf1f7a799a5aa128b1
+EBUILD libirecovery-9999.ebuild 717 BLAKE2B 7e35a7f3315559a42d307900f5b5ca766a5c50cec41cea82f957e79d93f839f3c58ab0dec227aaa5ec457238adfbfc241712a866f682494c9a9463ca332a8291 SHA512 e5bcad6480247870e9cded805e1115df57d7b057ed6933977424febf3a0e8dd31ca55e18b819a2d0f4574195adbcd44d528ada4894f0531d810c6a76166c5aa3
diff --git a/app-pda/libirecovery/libirecovery-1.0.0.ebuild b/app-pda/libirecovery/libirecovery-1.0.0.ebuild
new file mode 100644
index 0000000..d644125
--- /dev/null
+++ b/app-pda/libirecovery/libirecovery-1.0.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2018-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools
+
+DESCRIPTION="Library and utility to talk to iBoot/iBSS via USB."
+HOMEPAGE="https://github.com/libimobiledevice/libirecovery"
+SRC_URI="https://github.com/libimobiledevice/${PN}/releases/download/${PV}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~arm ~arm64"
+IUSE="udev"
+
+RESTRICT="mirror"
+
+DEPEND="sys-libs/readline
+ virtual/libusb:1"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ myconf=$(use_with udev)
+ econf "${myconf}"
+}
diff --git a/app-pda/libirecovery/libirecovery-9999.ebuild b/app-pda/libirecovery/libirecovery-9999.ebuild
new file mode 100644
index 0000000..83f961c
--- /dev/null
+++ b/app-pda/libirecovery/libirecovery-9999.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2018-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools
+
+DESCRIPTION="Library and utility to talk to iBoot/iBSS via USB."
+HOMEPAGE="https://github.com/libimobiledevice/libirecovery"
+if [[ ${PV} == 9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/libimobiledevice/libirecovery"
+else
+ RESTRICT="mirror"
+ SRC_URI="https://github.com/libimobiledevice/${PN}/releases/download/${PV}/${P}.tar.bz2"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="udev"
+
+RESTRICT="mirror"
+
+DEPEND="sys-libs/readline
+ virtual/libusb:1"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ myconf=$(use_with udev)
+ econf "${myconf}"
+}