|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/app-arch/rzip/rzip-2.0-r1.ebuild,v 1.7 2005/06/17 01:05:34 vapier Exp $ | # $Header: /var/cvsroot/gentoo-x86/app-arch/rzip/rzip-2.0-r1.ebuild,v 1.7 2005/06/17 01:05:34 vapier Exp $ |
| |
|
inherit eutils |
|
|
DESCRIPTION="compression program for large files" | DESCRIPTION="compression program for large files" |
HOMEPAGE="http://rzip.samba.org/" | HOMEPAGE="http://rzip.samba.org/" |
SRC_URI="http://rzip.samba.org/ftp/rzip/${P}.tar.gz" | SRC_URI="http://rzip.samba.org/ftp/rzip/${P}.tar.gz" |
| |
LICENSE="GPL-2" | LICENSE="GPL-2" |
SLOT="0" | SLOT="0" |
KEYWORDS="amd64 ppc ppc64 sparc x86" |
KEYWORDS="amd64 ppc ~ppc-macos ppc64 sparc x86" |
IUSE="" | IUSE="" |
| |
DEPEND="app-arch/bzip2" | DEPEND="app-arch/bzip2" |
| |
|
src_unpack() { |
|
unpack ${A} |
|
epatch ${FILESDIR}/${P}-darwin.patch |
|
cp ${FILESDIR}/strutils.{c,h} ${P}/ |
|
} |
|
|
|
src_compile() { |
|
# because we patched the configure.in script, we have to run autoconf |
|
autoconf || die "autoconf failed" |
|
econf || die "configure failed" |
|
emake || die "make failed" |
|
} |
|
|
src_install() { | src_install() { |
make \ | make \ |
INSTALL_BIN="${D}"/usr/bin \ | INSTALL_BIN="${D}"/usr/bin \ |
INSTALL_MAN="${D}"/usr/share/man \ | INSTALL_MAN="${D}"/usr/share/man \ |
install || die |
install || die "make install failed" |
dosym rzip /usr/bin/runzip | dosym rzip /usr/bin/runzip |
} | } |