blob: 4d69d9b14d8fbce3c7c786d48f686823f8bd256e (
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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-util/biounzip/biounzip-1.1a.ebuild,v 1.5 2007/12/05 03:46:05 mr_bones_ Exp $
inherit eutils
DESCRIPTION="Unpacks BioZip archives"
HOMEPAGE="http://biounzip.sourceforge.net/"
SRC_URI="mirror://sourceforge/biounzip/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="virtual/libc
sys-libs/zlib"
S=${WORKDIR}/${P/a/}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-64bit.patch
}
src_compile() {
sed -i -e "s#-march=athlon-xp#${CFLAGS}#" Makefile || die
emake || die
}
src_install() {
exeinto /usr/bin
doexe biounzip || die
dodoc biozip.txt
}
|