summaryrefslogtreecommitdiff
blob: 4a4edf48ec020c58c0e7cdbdb1ce519f66c7976b (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/kpopup/kpopup-0.9.7.ebuild,v 1.4 2005/09/21 17:02:09 dang Exp $

inherit kde

DESCRIPTION="An SMB Network Messenger"
HOMEPAGE="http://www.henschelsoft.de/kpopup.html"
SRC_URI="http://www.henschelsoft.de/kpopup/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

DEPEND=">=net-fs/samba-2.2"
need-kde 3

src_install() {
	make DESTDIR=${D} install || die "make install failed"
#	make DESTDIR=${D} create_kpopup_data_dir || die "create data dir failed"
	diropts -m0777
	dodir /var/lib/kpopup
	diropts -m0755
}

pkg_postinst() {
	einfo ""
	einfo "Locate the [global] section of your Samba configuration file (smb.conf) and"
	einfo "add the following line:"
	einfo ""
	einfo "message command = sh -c '/usr/bin/receivepopup.sh \"%s\" \"%f\"'"
	einfo ""
}