blob: ca6c4b780b8e9dfcf7d5d39b21388d2a44755e0b (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/gnomba/gnomba-0.6.2-r2.ebuild,v 1.1 2006/11/05 20:03:33 allanonjl Exp $
inherit eutils
DESCRIPTION="Gnome Samba Browser"
SRC_URI="http://gnomba.sourceforge.net/src/${P}.tar.gz"
HOMEPAGE="http://gnomba.sourceforge.net/"
LICENSE="GPL-2"
KEYWORDS="~sparc ~x86"
SLOT="0"
IUSE="debug"
DEPEND="gnome-base/gnome-libs"
src_unpack() {
unpack "${A}"
cd "${S}"
epatch "${FILESDIR}/${P}-gcc-fix.patch"
}
src_compile() {
econf `use_enable debug` || die "econf failed"
# We touch the Makefile here, because the configure script
# touches Makefile.in and we want to avoid the recreation
touch Makefile
emake \
CODEPAGEDIR=/var/lib/samba/codepages \
LMHOSTSFILE=/etc/samba/lmhosts \
SMB_PASSWD_FILE=/etc/samba/private/smbpasswd \
PASSWD_PROGRAM=/usr/bin/passwd \
DRIVERFILE=/etc/samba/printers.def \
|| die "emake failed"
}
src_install() {
edos2unix gnomba.desktop
einstall || die "einstall failed"
dodoc AUTHORS BUGS COPYING ChangeLog HACKING INSTALL NEWS README TODO
}
|