/[gentoo-x86]/net-misc/gofish/gofish-1.2.ebuild
Gentoo

Contents of /net-misc/gofish/gofish-1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jun 22 11:05:59 2012 UTC (2 years, 6 months ago) by ago
Branch: MAIN
Changes since 1.1: +3 -3 lines
Stable for amd64, wrt bug #422929

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/gofish/gofish-1.2.ebuild,v 1.1 2011/04/06 22:10:38 xmw Exp $
4
5 EAPI=2
6
7 inherit eutils
8
9 DESCRIPTION="Gofish gopher server"
10 HOMEPAGE="http://gofish.sourceforge.net"
11 SRC_URI="mirror://sourceforge/gofish/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ~ppc ~x86"
16 IUSE=""
17
18 DEPEND=""
19 RDEPEND=""
20
21 S=${WORKDIR}/${PN}
22
23 pkg_setup() {
24 enewgroup gopher
25 enewuser gopher -1 -1 -1 gopher
26 }
27
28 src_configure() {
29 econf \
30 --localstatedir=/var \
31 --disable-mmap-cache || die
32 }
33
34 src_install () {
35 make DESTDIR="${D}" install || die
36
37 newinitd "${FILESDIR}"/gofish.rc gofish || die
38 newconfd "${FILESDIR}"/gofish.confd gofish || die
39
40 dodoc AUTHORS ChangeLog Configure_GoFish README TODO || die
41 }

  ViewVC Help
Powered by ViewVC 1.1.20