/[gentoo-x86]/app-pda/usbmuxd/usbmuxd-1.0.8-r1.ebuild
Gentoo

Contents of /app-pda/usbmuxd/usbmuxd-1.0.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Aug 10 17:41:50 2012 UTC (2 years, 5 months ago) by ssuominen
Branch: MAIN
Query udev.pc pkg-config file for correct udevdir.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 ssuominen 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/app-pda/usbmuxd/usbmuxd-1.0.8.ebuild,v 1.5 2012/05/06 21:44:18 ssuominen Exp $
4    
5     EAPI=4
6     inherit cmake-utils user toolchain-funcs
7    
8     DESCRIPTION="USB multiplex daemon for use with Apple iPhone/iPod Touch devices"
9     HOMEPAGE="http://www.libimobiledevice.org/"
10     SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
11    
12     LICENSE="GPL-2 GPL-3 LGPL-2.1"
13     SLOT="0"
14     KEYWORDS="~amd64 ~ppc64 ~x86"
15     IUSE=""
16    
17     RDEPEND=">=app-pda/libplist-1.8-r1
18     virtual/libusb:1"
19     DEPEND="${RDEPEND}
20     virtual/os-headers
21     virtual/pkgconfig"
22    
23     pkg_setup() {
24     enewgroup plugdev
25     enewuser usbmux -1 -1 -1 "usb,plugdev"
26     }
27    
28     src_configure() {
29     if has_version sys-fs/udev; then
30     local udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
31     sed -i -e "/rules/s:/lib/udev:${udevdir}:" udev/CMakeLists.txt || die
32     fi
33    
34     cmake-utils_src_configure
35     }
36    
37     DOCS="AUTHORS README README.devel"

  ViewVC Help
Powered by ViewVC 1.1.20