summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-02-28 21:48:00 +0000
committerMike Frysinger <vapier@gentoo.org>2012-02-28 21:48:00 +0000
commit1e693d04f9aeb396b4206cb755d11cbb02dc0878 (patch)
treeb44feb1c3d8152cd3b7208130561b109e44fa443 /dev-embedded
parentFix ChangeLog and re-sign Manifest, hopefully. (diff)
downloadgentoo-2-1e693d04f9aeb396b4206cb755d11cbb02dc0878.tar.gz
gentoo-2-1e693d04f9aeb396b4206cb755d11cbb02dc0878.tar.bz2
gentoo-2-1e693d04f9aeb396b4206cb755d11cbb02dc0878.zip
Clean up ebuild a lot, add USE=static-libs, update to EAPI=4, and fix the DEPEND (including specifying libusb:0) #405671 by Piotr Szymaniak.
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/usbprog/ChangeLog8
-rw-r--r--dev-embedded/usbprog/usbprog-0.2.0.ebuild31
2 files changed, 23 insertions, 16 deletions
diff --git a/dev-embedded/usbprog/ChangeLog b/dev-embedded/usbprog/ChangeLog
index f2b83d7dc010..cc48afbe391a 100644
--- a/dev-embedded/usbprog/ChangeLog
+++ b/dev-embedded/usbprog/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-embedded/usbprog
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/usbprog/ChangeLog,v 1.1 2010/09/10 23:33:42 robbat2 Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/usbprog/ChangeLog,v 1.2 2012/02/28 21:48:00 vapier Exp $
+
+ 28 Feb 2012; Mike Frysinger <vapier@gentoo.org> usbprog-0.2.0.ebuild:
+ Clean up ebuild a lot, add USE=static-libs, update to EAPI=4, and fix the
+ DEPEND (including specifying libusb:0) #405671 by Piotr Szymaniak.
*usbprog-0.2.0 (10 Sep 2010)
diff --git a/dev-embedded/usbprog/usbprog-0.2.0.ebuild b/dev-embedded/usbprog/usbprog-0.2.0.ebuild
index ba2470223a6a..af40d2ab0100 100644
--- a/dev-embedded/usbprog/usbprog-0.2.0.ebuild
+++ b/dev-embedded/usbprog/usbprog-0.2.0.ebuild
@@ -1,30 +1,33 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/usbprog/usbprog-0.2.0.ebuild,v 1.1 2010/09/10 23:33:42 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/usbprog/usbprog-0.2.0.ebuild,v 1.2 2012/02/28 21:48:00 vapier Exp $
-EAPI=3
-inherit eutils
-DESCRIPTION="flashtool for the multi purpose programming adapter usbprog"
+EAPI="4"
+DESCRIPTION="flashtool for the multi purpose programming adapter usbprog"
HOMEPAGE="http://www.embedded-projects.net/index.php?page_id=215"
-
SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
+
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE="X"
-DEPEND="X? ( >=x11-libs/wxGTK-2.6.0 )
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs X"
+
+RDEPEND="X? ( >=x11-libs/wxGTK-2.6.0 )
>=dev-libs/libxml2-2.0.0
net-misc/curl
- dev-libs/libusb
+ virtual/libusb:0
sys-libs/readline"
-
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
src_configure() {
- econf $(use_enable X gui) || die "econf failed"
+ econf \
+ $(use_enable X gui) \
+ $(use_enable static-libs static)
}
src_install() {
- emake install DESTDIR="${D}" || die "einstall failed"
+ default
+ use static-libs || find "${ED}" -name '*.la' -delete
}