diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-apps/fxload/fxload-20081013-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-apps/fxload/fxload-20081013-r1.ebuild')
-rw-r--r-- | sys-apps/fxload/fxload-20081013-r1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sys-apps/fxload/fxload-20081013-r1.ebuild b/sys-apps/fxload/fxload-20081013-r1.ebuild new file mode 100644 index 000000000000..03fdaa5ed9e9 --- /dev/null +++ b/sys-apps/fxload/fxload-20081013-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="" + +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 +} |