summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/fxload/ChangeLog7
-rw-r--r--sys-apps/fxload/fxload-20081013-r1.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/sys-apps/fxload/ChangeLog b/sys-apps/fxload/ChangeLog
index 8666fca23d02..d0ef1a580e36 100644
--- a/sys-apps/fxload/ChangeLog
+++ b/sys-apps/fxload/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/fxload
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/fxload/ChangeLog,v 1.28 2013/07/08 14:59:02 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/fxload/ChangeLog,v 1.29 2013/07/08 15:06:26 mrueg Exp $
+
+*fxload-20081013-r1 (08 Jul 2013)
+
+ 08 Jul 2013; Manuel Rüger <mrueg@gentoo.org> +fxload-20081013-r1.ebuild:
+ Update to a newer EAPI
08 Jul 2013; Manuel Rüger <mrueg@gentoo.org>
-files/fxload-20020411-linux-headers-2.6.19.patch,
diff --git a/sys-apps/fxload/fxload-20081013-r1.ebuild b/sys-apps/fxload/fxload-20081013-r1.ebuild
new file mode 100644
index 000000000000..f18172e0fb89
--- /dev/null
+++ b/sys-apps/fxload/fxload-20081013-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/fxload/fxload-20081013-r1.ebuild,v 1.1 2013/07/08 15:06:26 mrueg Exp $
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+# source maintainers named it fxload-YYYY_MM_DD instead of fxload-YYYYMMDD
+MY_P="${PN}-${PV:0:4}_${PV:4:2}_${PV:6:2}"
+DESCRIPTION="USB firmware uploader"
+HOMEPAGE="http://linux-hotplug.sourceforge.net/"
+SRC_URI="mirror://sourceforge/linux-hotplug/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND="sys-kernel/linux-headers"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i \
+ -e 's:$(CC) -o:$(CC) $(LDFLAGS) -o:' \
+ Makefile || die
+}
+
+src_compile() {
+ tc-export CC
+ emake RPM_OPT_FLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake prefix="${D}" install
+ dodoc README.txt
+}