blob: 15d47cad7adec80badc1ed8da0a381835f4de43e (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/linpopup/linpopup-2.0.2.ebuild,v 1.3 2004/06/10 19:28:03 agriffis Exp $
inherit gnome2
SRC_URI="mirror://sourceforge/linpopup2/${P}.tar.bz2"
DESCRIPTION="GTK2 port of the LinPopUp messaging client for Samba"
HOMEPAGE="http://linpopup2.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
RDEPEND=">=x11-libs/gtk+-2
>=dev-libs/glib-2
>=gnome-base/libgnome-2
>=gnome-base/libgnomeui-2
>=net-fs/samba-2.2.8a"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
IUSE=""
DOCS="AUTHORS BUGS COPYING ChangeLog INSTALL MANUAL NEWS README THANKS TODO"
src_install() {
# Install icon and .desktop for menu entry
if use gnome ; then
insinto /usr/share/pixmaps
newins ${S}/pixmaps/icon_256.xpm linpopup.xpm
insinto /usr/share/applications
doins ${FILESDIR}/linpopup.desktop
fi
gnome2_src_install
}
pkg_postinst() {
echo
einfo "To be able to receive messages that are sent to you, you will need to"
einfo "edit your /etc/samba/smb.conf file."
einfo
einfo "Add this line to the [global settings] section:"
einfo
einfo " message command = /usr/bin/linpopup \"%f\" \"%m\" %s; rm %s"
einfo
einfo "PLEASE NOTE that \"%f\" is not the same thing as %f , '%f' or %f"
einfo "and take care to enter \"%f\" \"%m\" %s exactly as shown above."
einfo
einfo "For more information, please refer to the documentation, found in"
einfo "/usr/share/doc/${P}/"
echo
}
|