/[gentoo-x86]/dev-scheme/hop/hop-2.0.1.ebuild
Gentoo

Contents of /dev-scheme/hop/hop-2.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jun 7 20:34:19 2012 UTC (6 years, 10 months ago) by zmedico
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
inherit user for enewgroup and enewuser

(Portage version: 2.2.0_alpha110/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-scheme/hop/hop-2.0.1.ebuild,v 1.1 2010/04/09 00:39:57 chiiph Exp $
4
5 EAPI="2"
6
7 inherit eutils multilib user
8
9 DESCRIPTION="Hop is a higher-order language for programming interactive web applications"
10 HOMEPAGE="http://hop.inria.fr/"
11 SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Hop/${P}.tar.gz"
12
13 SLOT="0"
14 LICENSE="GPL-2"
15 KEYWORDS="~amd64 ~x86"
16
17 DEPEND=">=dev-scheme/bigloo-3.3a[ssl?,threads?]"
18
19 RDEPEND="${DEPEND}"
20
21 IUSE="ssl threads debug"
22
23 pkg_setup() {
24 enewgroup hop
25 enewuser hop -1 -1 /var/lib/hop hop
26 }
27
28 src_configure() {
29 # Hop doesn't use autoconf and consequently a lot of options used by econf give errors
30 # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..."
31 ./configure \
32 --prefix=/usr \
33 --mandir=/usr/share/man \
34 --libdir=/usr/$(get_libdir) \
35 --etcdir=/etc/hop \
36 $(use_enable ssl) \
37 $(use_enable threads) \
38 $(use debug && echo "--debug") \
39 || die "configure failed"
40 }
41
42 src_install () {
43 emake DESTDIR="${D}" install || die "install failed"
44
45 newinitd "${FILESDIR}/hop.initd" hop || die
46 newconfd "${FILESDIR}/hop.confd" hop || die
47 }

  ViewVC Help
Powered by ViewVC 1.1.20