summaryrefslogtreecommitdiff
blob: 00438f18192708d43f7c6ac444e995dff4384c7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/fxload/fxload-20020411.ebuild,v 1.12 2003/06/21 21:19:39 drobbins Exp $

# source maintainers named it fxload-YYYY_MM_DD instead of fxload-YYYYMMDD
MY_P=`echo $P|sed 's/-\(....\)\(..\)\(..\)/-\1_\2_\3/'`
S=${WORKDIR}/${MY_P}
DESCRIPTION="USB firmware uploader"
SRC_URI="http://unc.dl.sourceforge.net/sourceforge/linux-hotplug/fxload-2002_04_11.tar.gz"
HOMEPAGE="http://linux-hotplug.sourceforge.net"
KEYWORDS="x86 amd64 ppc sparc ~hppa"
SLOT="0"
LICENSE="GPL-2"

# fxload needs pcimodules utility provided by pcitutils-2.1.9-r1
DEPEND="virtual/glibc
	sys-apps/hotplug"

src_compile() {
	# compile fxload program
	make || die
}

src_install() {
	make install prefix=${D}
}