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

Contents of /net-im/linpopup/linpopup-2.1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri May 4 06:22:11 2012 UTC (2 years, 7 months ago) by jdhore
Branch: MAIN
Changes since 1.1: +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.1.0.ebuild,v 1.1 2009/08/05 08:38:21 ssuominen Exp $
4
5 EAPI=2
6 inherit autotools eutils
7
8 DESCRIPTION="GTK+ port of the LinPopUp messaging client for Samba (including Samba 3)"
9 HOMEPAGE="http://linpopup2.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/linpopup2/${P}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc ~x86"
15 IUSE=""
16
17 RDEPEND="x11-libs/libX11
18 x11-libs/libXmu
19 x11-libs/gtk+:2"
20 DEPEND="${RDEPEND}
21 virtual/pkgconfig
22 x11-proto/xproto"
23
24 src_prepare() {
25 epatch "${FILESDIR}"/${PV}-link.patch
26 eautoreconf
27 }
28
29 src_install() {
30 emake DESTDIR="${D}" install || die "emake install failed"
31 dodoc AUTHORS ChangeLog README THANKS TODO
32 dosym linpopup /usr/bin/LinPopUp || die "dosym failed"
33 newicon pixmaps/icon_256.xpm ${PN}.xpm
34 make_desktop_entry ${PN} LinPopUp ${PN}
35 }
36
37 pkg_postinst() {
38 echo
39 elog "To be able to receive messages that are sent to you, you will need to"
40 elog "edit your /etc/samba/smb.conf file."
41 elog
42 elog "Add this line to the [global settings] section:"
43 elog
44 elog " message command = /usr/bin/linpopup \"%f\" \"%m\" %s; rm %s"
45 elog
46 elog "PLEASE NOTE that \"%f\" is not the same thing as %f , '%f' or %f"
47 elog "and take care to enter \"%f\" \"%m\" %s exactly as shown above."
48 elog
49 elog "For more information, please refer to the documentation, found in"
50 elog "/usr/share/doc/${P}/"
51 echo
52 }

  ViewVC Help
Powered by ViewVC 1.1.20