| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/usbprog/usbprog-0.2.0.ebuild,v 1.2 2012/02/28 21:48:00 vapier Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
|
| 7 |
DESCRIPTION="flashtool for the multi purpose programming adapter usbprog"
|
| 8 |
HOMEPAGE="http://www.embedded-projects.net/index.php?page_id=215"
|
| 9 |
SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
|
| 10 |
|
| 11 |
LICENSE="GPL-2"
|
| 12 |
SLOT="0"
|
| 13 |
KEYWORDS="~amd64 ~x86"
|
| 14 |
IUSE="static-libs X"
|
| 15 |
|
| 16 |
RDEPEND="X? ( >=x11-libs/wxGTK-2.6.0 )
|
| 17 |
>=dev-libs/libxml2-2.0.0
|
| 18 |
net-misc/curl
|
| 19 |
virtual/libusb:0
|
| 20 |
sys-libs/readline"
|
| 21 |
DEPEND="${RDEPEND}
|
| 22 |
virtual/pkgconfig"
|
| 23 |
|
| 24 |
src_configure() {
|
| 25 |
econf \
|
| 26 |
$(use_enable X gui) \
|
| 27 |
$(use_enable static-libs static)
|
| 28 |
}
|
| 29 |
|
| 30 |
src_install() {
|
| 31 |
default
|
| 32 |
use static-libs || find "${ED}" -name '*.la' -delete
|
| 33 |
}
|