pentoo-overlay/app-pda/usbmuxd/usbmuxd-1.1.0.ebuild
2015-01-07 14:31:12 +00:00

34 lines
963 B
Bash

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/usbmuxd/usbmuxd-1.0.8_p20140530.ebuild,v 1.2 2014/08/03 12:09:08 ssuominen Exp $
EAPI=5
inherit autotools udev user
DESCRIPTION="USB multiplex daemon for use with Apple iPhone/iPod Touch devices"
HOMEPAGE="http://www.libimobiledevice.org/"
SRC_URI="http://www.libimobiledevice.org/downloads/${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"
RDEPEND=">=app-pda/libimobiledevice-1.1.7
>=app-pda/libplist-1.12
virtual/libusb:1"
DEPEND="${RDEPEND}
virtual/os-headers
virtual/pkgconfig"
pkg_setup() {
enewgroup plugdev
enewuser usbmux -1 -1 -1 "usb,plugdev"
}
src_configure(){
use systemd && ewarn "systemd functionally was not tested. Please report bugs if any"
econf $(use_with systemd)
}