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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Tue Aug 8 01:02:12 2006 UTC (13 years, 2 months ago) by vanquirius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
1.1 version bump for bug 143032. Thanks to Robert Gill <locke at sdf dot lonestar dot org> and Andrew Ross <aross at gentoo dot org>.
(Portage version: 2.1-r1)
 (Unsigned Manifest commit)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/gofish/gofish-0.29.ebuild,v 1.8 2005/09/03 01:36:16 vanquirius Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Gofish gopher server"
8 HOMEPAGE="http://gofish.sourceforge.net"
9 SRC_URI="mirror://sourceforge/gofish/${P}.tar.gz"
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="~x86 ~ppc ~amd64"
13 IUSE=""
14
15 DEPEND="virtual/libc
16 >=sys-apps/sed-4"
17 RDEPEND=""
18
19 pkg_setup() {
20 enewgroup gopher 30
21 enewuser gopher 30 -1 -1 gopher
22 }
23
24 src_compile() {
25 econf --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
26 --disable-http || die "econf failed"
27 emake || die
28 }
29
30 src_install () {
31 sed -i s/';uid = -1'/'uid = 30'/ ${S}/gofish.conf
32 sed -i s/';gid = -1'/'uid = 30'/ ${S}/gofish.conf
33 make DESTDIR="${D}" install || die
34 exeinto /etc/init.d ; newexe ${FILESDIR}/gofish.rc gofish
35 insinto /etc/conf.d ; newins ${FILESDIR}/gofish.confd gofish
36 }
37
38 pkg_postinst() {
39 einfo "Please edit /etc/${PN}.conf before using."
40 }

  ViewVC Help
Powered by ViewVC 1.1.20