blob: 48cfb81a9533b828f23e2677eb77006f05362b6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2012 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-r1.ebuild,v 1.6 2012/12/31 14:17:14 ago Exp $
EAPI=4
inherit cmake-utils user udev
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"
LICENSE="GPL-2 GPL-3 LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 x86"
IUSE=""
RDEPEND=">=app-pda/libplist-1.8-r1
virtual/libusb:1"
DEPEND="${RDEPEND}
virtual/os-headers
virtual/pkgconfig"
pkg_setup() {
enewgroup plugdev
enewuser usbmux -1 -1 -1 "usb,plugdev"
}
src_configure() {
if [[ $(udev_get_udevdir) != "/lib/udev" ]]; then
sed -i -e "/rules/s:/lib/udev:$(udev_get_udevdir):" udev/CMakeLists.txt || die
fi
cmake-utils_src_configure
}
DOCS="AUTHORS README README.devel"
|