summaryrefslogtreecommitdiff
blob: 5588e15218565466f427cffbb98d79445e85da0e (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
33
34
35
36
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/gzip-x86/gzip-x86-0.91.ebuild,v 1.3 2005/05/16 02:26:51 vapier Exp $

inherit toolchain-funcs

MY_P=${PN/-/_}-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="an optimized gzip for x86 arch"
HOMEPAGE="http://www.BitWagon.com/ftp/"
SRC_URI="http://www.BitWagon.com/ftp/${MY_P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE=""

DEPEND=""
PROVIDE="virtual/gzip"

src_unpack() {
	unpack ${A}
	cd ${S}
	rm -f config.h.in
	autoheader || die
}

src_compile() {
	econf --bindir=/bin || die
	emake CCAS="$(tc-getCC)" || die
}

src_install() {
	make DESTDIR="${D}" install || die
	dodoc AUTHORS ChangeLog NEWS README THANKS TODO
}