diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-08-10 17:41:50 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-08-10 17:41:50 +0000 |
commit | 4a92ec626fa4f55ffeb45c159c6b93db3a315458 (patch) | |
tree | 65414ccce3ab135ae339dcac2a8f016cfb28efaa /app-pda | |
parent | Query correct udevdir from udev.pc pkg-config file. (diff) | |
download | gentoo-2-4a92ec626fa4f55ffeb45c159c6b93db3a315458.tar.gz gentoo-2-4a92ec626fa4f55ffeb45c159c6b93db3a315458.tar.bz2 gentoo-2-4a92ec626fa4f55ffeb45c159c6b93db3a315458.zip |
Query udev.pc pkg-config file for correct udevdir.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'app-pda')
-rw-r--r-- | app-pda/usbmuxd/ChangeLog | 7 | ||||
-rw-r--r-- | app-pda/usbmuxd/usbmuxd-1.0.8-r1.ebuild | 37 |
2 files changed, 43 insertions, 1 deletions
diff --git a/app-pda/usbmuxd/ChangeLog b/app-pda/usbmuxd/ChangeLog index cc57144c2607..67fc253689c4 100644 --- a/app-pda/usbmuxd/ChangeLog +++ b/app-pda/usbmuxd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-pda/usbmuxd # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/usbmuxd/ChangeLog,v 1.21 2012/06/02 07:00:09 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/usbmuxd/ChangeLog,v 1.22 2012/08/10 17:41:50 ssuominen Exp $ + +*usbmuxd-1.0.8-r1 (10 Aug 2012) + + 10 Aug 2012; Samuli Suominen <ssuominen@gentoo.org> +usbmuxd-1.0.8-r1.ebuild: + Query udev.pc pkg-config file for correct udevdir. 02 Jun 2012; Zac Medico <zmedico@gentoo.org> usbmuxd-1.0.7-r1.ebuild: inherit user for enewgroup and enewuser diff --git a/app-pda/usbmuxd/usbmuxd-1.0.8-r1.ebuild b/app-pda/usbmuxd/usbmuxd-1.0.8-r1.ebuild new file mode 100644 index 000000000000..8f2a697412eb --- /dev/null +++ b/app-pda/usbmuxd/usbmuxd-1.0.8-r1.ebuild @@ -0,0 +1,37 @@ +# 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.1 2012/08/10 17:41:50 ssuominen Exp $ + +EAPI=4 +inherit cmake-utils user toolchain-funcs + +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 ~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 has_version sys-fs/udev; then + local udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" + sed -i -e "/rules/s:/lib/udev:${udevdir}:" udev/CMakeLists.txt || die + fi + + cmake-utils_src_configure +} + +DOCS="AUTHORS README README.devel" |