You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-pda/usbmuxd/usbmuxd-1.1.1.ebuild

44 lines
893 B

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools systemd udev
DESCRIPTION="USB multiplex daemon for use with Apple iPhone/iPod Touch devices"
HOMEPAGE="https://www.libimobiledevice.org/"
SRC_URI="https://github.com/libimobiledevice/usbmuxd/releases/download/${PV}/${P}.tar.bz2"
# src/utils.h is LGPL-2.1+, rest is found in COPYING*
LICENSE="GPL-2 GPL-3 LGPL-2.1+"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="systemd"
DEPEND="
acct-user/usbmux
>=app-pda/libimobiledevice-1.0:=
>=app-pda/libplist-2.0:=
virtual/libusb:1"
RDEPEND="
${DEPEND}
virtual/udev
"
BDEPEND="
virtual/pkgconfig
"
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
$(use_with systemd) \
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
--with-udevrulesdir="$(get_udevdir)"/rules.d
}