summaryrefslogtreecommitdiff
blob: 8ff29a57c0db95ae162611282d51e065d02f8276 (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
37
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit autotools eutils

REVNUM="b4604.g4608"
MY_P="${PN/lib}-${PV}.${REVNUM}"

DESCRIPTION="Another XML library"
HOMEPAGE="http://www.aspl.es/axl/"
SRC_URI="mirror://sourceforge/vortexlibrary/${MY_P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc tests"

DEPEND="sys-devel/libtool
	dev-util/pkgconfig
	doc? ( app-doc/doxygen )"

S=${WORKDIR}/${MY_P}

src_prepare() {
	epatch "${FILESDIR}"/${P}-werror.patch

	eautoreconf
}

src_configure() {
	econf \
		$(use_enable doc axl-doc) \
		$(use_enable tests axl-test)
}