/[gentoo-x86]/dev-lang/squirrel/squirrel-2.2.4-r1.ebuild
Gentoo

Contents of /dev-lang/squirrel/squirrel-2.2.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Jan 25 12:17:31 2011 UTC (3 years, 9 months ago) by fauli
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
stable x86, bug 351797

(Portage version: 2.1.9.34/cvs/Linux i686)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-lang/squirrel/squirrel-2.2.4-r1.ebuild,v 1.2 2011/01/18 14:45:04 hwoarang Exp $
4
5 EAPI=3
6
7 inherit autotools eutils multilib
8
9 MY_P="${PN}_${PV}_stable"
10 DESCRIPTION="A interpreted language mainly used for games"
11 HOMEPAGE="http://squirrel-lang.org/"
12 SRC_URI="mirror://sourceforge/${PN}/${PN}${PV:0:1}/${MY_P}/${MY_P}.tar.gz"
13
14 LICENSE="ZLIB"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17 IUSE="doc examples static-libs"
18
19 # /usr/bin/sq conflicts
20 RDEPEND="!app-text/ispell"
21
22 S="${WORKDIR}/SQUIRREL${PV:0:1}"
23
24 src_prepare() {
25 epatch "${FILESDIR}"/${P}-autotools.patch
26 epatch "${FILESDIR}"/${P}-supertux-const.patch
27 epatch "${FILESDIR}"/${P}-stdint.h.patch
28
29 eautoreconf
30 }
31
32 src_configure() {
33 econf --docdir="${EPREFIX}"/usr/share/doc/${PF} \
34 $(use_enable doc) \
35 $(use_enable examples) \
36 $(use_enable static-libs static)
37 }
38
39 src_install() {
40 emake DESTDIR="${D}" install || die
41 if ! use static-libs; then
42 rm -v "${ED}"/usr/$(get_libdir)/*.la || die
43 fi
44
45 dodoc HISTORY README || die
46 }

  ViewVC Help
Powered by ViewVC 1.1.20