summaryrefslogtreecommitdiff
blob: 262f04498a57a1b430b77608173ab8bce66d9652 (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libarchive/libarchive-1.02.027.ebuild,v 1.5 2006/03/19 21:02:15 flameeyes Exp $

inherit eutils

DESCRIPTION="Library to create and read several different archive formats."
HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive/"
SRC_URI="http://people.freebsd.org/~kientzle/libarchive/src/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc-macos ~x86"
IUSE=""

DEPEND="app-arch/bzip2
	sys-libs/zlib
	!>=app-arch/bsdtar-1.2.51"

src_unpack() {
	unpack ${A}
	cd ${S}

	epatch ${FILESDIR}/${P}-osx.patch
}

src_install() {
	make DESTDIR="${D}" install
}