summaryrefslogtreecommitdiff
blob: f709e311c500d463db81f13e9a5c61cfc1f60717 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/xdms/xdms-1.3.2.ebuild,v 1.4 2007/11/16 19:48:36 drac Exp $

inherit toolchain-funcs

DESCRIPTION="xDMS - Amiga DMS disk image decompressor"
HOMEPAGE="http://zakalwe.fi/~shd/foss/xdms"
SRC_URI="http://zakalwe.fi/~shd/foss/xdms/${P}.tar.bz2"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc x86"
IUSE=""

src_unpack() {
	unpack ${A}
	sed -i -e 's:COPYING::' "${S}"/Makefile.in
}

src_compile() {
	./configure --prefix=/usr --package-prefix="${D}" \
		|| die "configure failed."
	emake CC="$(tc-getCC)" || die "emake failed."
}

src_install() {
	emake install || die "emake install failed."
	prepalldocs
}