blob: e2484a3e10e28a6398a284b62e79cfd19b1e0344 (
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.2 2006/10/08 16:08:18 grobian 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 ~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
}
|