/[gentoo-x86]/net-im/linpopup/linpopup-2.0.4-r1.ebuild
Gentoo

Contents of /net-im/linpopup/linpopup-2.0.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri May 4 06:22:11 2012 UTC (2 years, 4 months ago) by jdhore
Branch: MAIN
Changes since 1.4: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-im/linpopup/linpopup-2.0.4-r1.ebuild,v 1.4 2009/08/05 07:12:04 ssuominen Exp $
4
5 EAPI=2
6 GCONF_DEBUG=no
7 inherit autotools eutils gnome2
8
9 DESCRIPTION="GTK+ port of the LinPopUp messaging client for Samba (including Samba 3)"
10 HOMEPAGE="http://linpopup2.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/linpopup2/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc x86"
16 IUSE=""
17
18 RDEPEND="x11-libs/libX11
19 x11-libs/libXmu
20 x11-libs/gtk+:2"
21 DEPEND="${RDEPEND}
22 virtual/pkgconfig
23 x11-proto/xproto"
24
25 DOCS="AUTHORS BUGS ChangeLog MANUAL NEWS README THANKS TODO"
26
27 src_prepare() {
28 gnome2_src_prepare
29 epatch "${FILESDIR}"/${PV}-overflow.patch \
30 "${FILESDIR}"/${PV}-link.patch
31 eautoreconf
32 }
33
34 src_install() {
35 gnome2_src_install
36 dosym linpopup /usr/bin/LinPopUp || die "dosym failed"
37 newicon pixmaps/icon_256.xpm ${PN}.xpm
38 make_desktop_entry ${PN} LinPopUp ${PN}
39 }
40
41 pkg_postinst() {
42 echo
43 elog "To be able to receive messages that are sent to you, you will need to"
44 elog "edit your /etc/samba/smb.conf file."
45 elog
46 elog "Add this line to the [global settings] section:"
47 elog
48 elog " message command = /usr/bin/linpopup \"%f\" \"%m\" %s; rm %s"
49 elog
50 elog "PLEASE NOTE that \"%f\" is not the same thing as %f , '%f' or %f"
51 elog "and take care to enter \"%f\" \"%m\" %s exactly as shown above."
52 elog
53 elog "For more information, please refer to the documentation, found in"
54 elog "/usr/share/doc/${P}/"
55 echo
56 }

  ViewVC Help
Powered by ViewVC 1.1.20