/[gentoo-alt]/trunk/prefix/dev-libs/expat/expat-1.95.8.ebuild
Gentoo

Contents of /trunk/prefix/dev-libs/expat/expat-1.95.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1483 - (show annotations) (download)
Sat Sep 16 18:52:40 2006 UTC (7 years, 10 months ago) by grobian
File size: 1171 byte(s)
weed keywords and add ~x86-macos
1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/expat/expat-1.95.8.ebuild,v 1.17 2005/10/10 12:47:04 kugelfang Exp $
4
5 EAPI="prefix"
6
7 inherit libtool multilib
8
9 DESCRIPTION="XML parsing libraries"
10 HOMEPAGE="http://expat.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/expat/${P}.tar.gz"
12
13 LICENSE="as-is"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc-macos ~x86 ~x86-macos"
16 IUSE="test"
17
18 DEPEND="test? ( >=dev-libs/check-0.8 )"
19 RDEPEND=""
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24 elibtoolize
25 }
26
27 src_test() {
28 if ! use test && [[ -z $(best_version dev-libs/check) ]] ; then
29 ewarn "You dont have USE=test and dev-libs/check is not installed."
30 ewarn "src_test will be skipped."
31 return 0
32 fi
33 make check || die "make check failed"
34 }
35
36 src_install() {
37 # make install is heavily broken and wants to deliberately install
38 # into the wrong locations...
39 make \
40 DESTDIR="${EDEST}" \
41 mandir="${EDEST}/usr/share/man" \
42 libdir="${EDEST}/${EPREFIX}/usr/$(get_libdir)" \
43 install || die "einstall failed"
44 dosed /usr/$(get_libdir)/libexpat.la #81568
45 dodoc Changes README
46 dohtml doc/*
47 }

  ViewVC Help
Powered by ViewVC 1.1.20