summaryrefslogtreecommitdiff
blob: b2047cd34dc015617ab8808f3889a0213bf23dc2 (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.2 2005/01/01 11:46:02 eradicator Exp $

inherit gcc

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="-* ~x86 ~amd64"
IUSE=""

DEPEND="virtual/libc"
PROVIDE="virtual/gzip"

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

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

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