summaryrefslogtreecommitdiff
blob: 1d42aa58bd250f2659b5eef8704489aa8bcf342e (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
27
28
29
30
31
32
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lib765/lib765-0.4.2.ebuild,v 1.2 2010/09/28 21:00:32 jer Exp $

EAPI="2"

inherit autotools

DESCRIPTION="Floppy controller emulator"
HOMEPAGE="http://www.seasip.demon.co.uk/Unix/LibDsk/"
SRC_URI="http://www.seasip.demon.co.uk/Unix/LibDsk/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
IUSE="libdsk static-libs"
KEYWORDS="~amd64 ~ppc ~x86"

DEPEND="libdsk? ( app-emulation/libdsk )"
RDEPEND="${DEPEND}"

src_prepare() {
	eautoreconf
}

src_configure() {
	econf $(use_with libdsk) $(use_enable static-libs static) || die
}

src_install() {
	emake install DESTDIR="${D}" || die
	dodoc ChangeLog doc/765.txt
}