blob: f4e3d5c4e2cc250b9acc070c57d532c8c0abec0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/howl/howl-0.9.5.ebuild,v 1.3 2005/01/09 00:12:47 stkn Exp $
inherit eutils
DESCRIPTION="Howl is a cross-platform implementation of the Zeroconf networking standard. Zeroconf brings a new ease of use to IP networking."
HOMEPAGE="http://www.porchdogsoft.com/products/howl/"
SRC_URI="http://www.porchdogsoft.com/download/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
IUSE=""
# -amd64: Even after patching like ppc for correct ENDIANNESS, we have various size problems... hopefully a later version will solve this...
KEYWORDS="~x86 ~ppc ~sparc -amd64"
DEPEND="sys-libs/glibc" # sys-devel/automake - needed if we remove the html docs from /usr/share
RDEPEND="sys-libs/glibc"
src_compile() {
# If we wanted to remove the html docs in /usr/share/howl....
#einfo "Removing html docs from build process...."
#sed -e 's/ docs//' < Makefile.am > Makefile.am.new || die "sed failed"
#mv Makefile.am.new Makefile.am || die "move failed"
#aclocal || die "aclocal failed"
#automake || die "automake failed"
case "${ARCH}" in
ppc)
epatch ${FILESDIR}/0.9.2-ppc.patch
;;
esac
econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR=${D} install || die "emake install failed"
dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
dohtml -r docs/
# doesn't work right now.
# nifd service loader
#dodir /etc/conf.d
#cp ${FILESDIR}/nifd.conf.d ${D}/etc/conf.d/nifd || die "cp nifd.conf.d"
#dodir /etc/init.d
#cp ${FILESDIR}/nifd.init.d ${D}/etc/init.d/nifd || die "cp nifd.init.d"
#fperms a+x ${D}/etc/init.d/nifd
# mDNSResponder service loader
dodir /etc/conf.d
cp ${FILESDIR}/mDNSResponder.conf.d ${D}/etc/conf.d/mDNSResponder || die "cp mDNSResponder.conf.d"
dodir /etc/init.d
cp ${FILESDIR}/mDNSResponder.init.d ${D}/etc/init.d/mDNSResponder || die "cp mDNSResponder.init.d"
fperms a+x ${D}/etc/init.d/mDNSResponder
}
|