summaryrefslogtreecommitdiff
blob: a9a4232b49e1551ac2b87baa16c688ebbe356d82 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmal/libmal-0.44.1.ebuild,v 1.5 2010/08/23 19:21:14 maekke Exp $

EAPI=2

DESCRIPTION="convenience library of the functions malsync distribution"
HOMEPAGE="http://www.jlogday.com/code/libmal/index.html"
SRC_URI="http://www.jlogday.com/code/libmal/${P}.tar.gz"

LICENSE="MPL-1.0"
SLOT="0"
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ppc64 ~sparc x86"
IUSE="static-libs"

DEPEND=">=app-pda/pilot-link-0.12.3"

src_configure() {
	econf \
		--disable-dependency-tracking \
		$(use_enable static-libs static)
}

src_install() {
	emake DESTDIR="${D}" install || die
	dodoc ChangeLog README || die

	docinto malsync
	dodoc malsync/{ChangeLog,README,Doc/README*} || die

	find "${D}" -name '*.la' -delete
}