|
Lines 3-8
Link Here
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.0.6.ebuild,v 1.1 2011/03/29 01:06:38 ssuominen Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-pda/libimobiledevice/libimobiledevice-1.0.6.ebuild,v 1.1 2011/03/29 01:06:38 ssuominen Exp $ |
| 4 |
|
4 |
|
| 5 |
EAPI=3 |
5 |
EAPI=3 |
|
|
6 |
PYTHON_DEPEND="python? 2:2.6" |
| 7 |
inherit autotools eutils python |
| 6 |
|
8 |
|
| 7 |
DESCRIPTION="Support library to communicate with Apple iPhone/iPod Touch devices" |
9 |
DESCRIPTION="Support library to communicate with Apple iPhone/iPod Touch devices" |
| 8 |
HOMEPAGE="http://www.libimobiledevice.org/" |
10 |
HOMEPAGE="http://www.libimobiledevice.org/" |
|
Lines 11-17
Link Here
|
| 11 |
LICENSE="GPL-2 LGPL-2.1" |
13 |
LICENSE="GPL-2 LGPL-2.1" |
| 12 |
SLOT="0" |
14 |
SLOT="0" |
| 13 |
KEYWORDS="~amd64 ~ppc64 ~x86" |
15 |
KEYWORDS="~amd64 ~ppc64 ~x86" |
| 14 |
IUSE="static-libs" |
16 |
IUSE="python static-libs" |
| 15 |
|
17 |
|
| 16 |
RDEPEND=">=app-pda/libplist-0.15 |
18 |
RDEPEND=">=app-pda/libplist-0.15 |
| 17 |
>=app-pda/usbmuxd-0.1.4 |
19 |
>=app-pda/usbmuxd-0.1.4 |
|
Lines 22-34
Link Here
|
| 22 |
sys-fs/fuse |
24 |
sys-fs/fuse |
| 23 |
virtual/libusb:1" |
25 |
virtual/libusb:1" |
| 24 |
DEPEND="${RDEPEND} |
26 |
DEPEND="${RDEPEND} |
| 25 |
dev-util/pkgconfig" |
27 |
dev-util/pkgconfig |
|
|
28 |
python? ( dev-lang/swig )" |
| 29 |
|
| 30 |
pkg_setup() { |
| 31 |
if use python; then |
| 32 |
python_set_active_version 2 |
| 33 |
python_pkg_setup |
| 34 |
fi |
| 35 |
} |
| 36 |
|
| 37 |
src_prepare() { |
| 38 |
epatch "${FILESDIR}"/${P}-update.patch |
| 39 |
eautoreconf |
| 40 |
} |
| 26 |
|
41 |
|
| 27 |
src_configure() { |
42 |
src_configure() { |
|
|
43 |
local myconf |
| 44 |
use python || myconf="--without-swig" |
| 45 |
|
| 28 |
econf \ |
46 |
econf \ |
| 29 |
--disable-dependency-tracking \ |
47 |
--disable-dependency-tracking \ |
| 30 |
$(use_enable static-libs static) \ |
48 |
$(use_enable static-libs static) \ |
| 31 |
--without-swig |
49 |
${myconf} |
| 32 |
} |
50 |
} |
| 33 |
|
51 |
|
| 34 |
src_install() { |
52 |
src_install() { |