blob: c5c5ebd182b7f0487859f1f5a0ac553e215a62be (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/xar/xar-1.4.ebuild,v 1.1 2006/03/19 18:56:00 kito Exp $
inherit eutils
DESCRIPTION="The XAR project aims to provide an easily extensible archive format."
HOMEPAGE="http://www.opendarwin.org/projects/xar/"
SRC_URI="http://www.opendarwin.org/projects/xar/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~ppc-macos ~sparc ~x86"
IUSE="debug"
RDEPEND="virtual/libc"
DEPEND="${RDEPEND}
app-arch/bzip2
dev-libs/openssl
dev-libs/libxml2
sys-libs/zlib"
src_compile() {
# This is a var used by AMD64-multilib, unset this
# or we'll have problems during econf/emake
unset SYMLINK_LIB
econf || die
emake CFLAGS_OPTIMIZE="${CFLAGS}" LDFLAGS_OPTIMIZE="${LDFLAGS}" || die
}
src_install() {
make DESTDIR=${D} install || die
}
|