--- ofono-0.20.ebuild?rev=1.1 2010-05-05 20:39:37.000000000 +0200 +++ ofono-0.20.ebuild 2010-05-05 20:33:18.000000000 +0200 @@ -11,12 +11,14 @@ SRC_URI="mirror://kernel/linux/network/$ LICENSE="GPL-2" SLOT="0" KEYWORDS="~arm ~amd64 ~x86" -IUSE="bluetooth threads +udev" +IUSE="bluetooth threads +udev isimodem capng examples" RDEPEND=">=sys-apps/dbus-1.2.24 bluetooth? ( >=net-wireless/bluez-4.61 ) >=dev-libs/glib-2.16 - udev? ( >=sys-fs/udev-143 )" + udev? ( >=sys-fs/udev-143 ) + capng? ( sys-libs/libcap-ng ) + examples? ( dev-python/dbus-python )" DEPEND="${RDEPEND} dev-util/pkgconfig" @@ -25,6 +27,7 @@ src_configure() { econf \ $(use_enable threads) \ $(use_enable udev) \ + $(use_enable isimodem) \ --enable-test \ --localstatedir="${ROOT}"/var } @@ -32,5 +35,10 @@ src_configure() { src_install() { emake DESTDIR="${D}" install || die "emake install failed" + if ! use examples ; then + rm -rf ${D}/usr/lib64/ofono/test + fi + newinitd "${FILESDIR}"/${PN}.initd ${PN} || die + dodoc ChangeLog AUTHORS doc/*.txt } Reproducible: Always Steps to Reproduce:
This rm -rf ${D}/usr/lib64/ofono/test needs to be replaced with rm -rf ${D}/usr/$(get_libdir)/ofono/test
Hi, Where did you find reference to sys-libs/libcap-ng? Thanks, Rob
as far as I know it was added with commit: 9ee614b64b7d1b765d8c6d6b0122372427dd73ed which was AFTER 0.20 release. So this library will be required for 0.21 once it's released.