diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2004-07-09 18:07:04 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2004-07-09 18:07:04 +0000 |
commit | 84fde7ac29253030a595a37e0f38557af14b8dec (patch) | |
tree | 1d970d5bf8721c13d29edbd5f2b801a17309e828 /net-im/msn-transport/msn-transport-20040531-r1.ebuild | |
parent | Version bump for kernel attribute vulnerabilities, bug #56479. (Manifest reco... (diff) | |
download | gentoo-2-84fde7ac29253030a595a37e0f38557af14b8dec.tar.gz gentoo-2-84fde7ac29253030a595a37e0f38557af14b8dec.tar.bz2 gentoo-2-84fde7ac29253030a595a37e0f38557af14b8dec.zip |
fixed init script
----------------------------------------------------------------------
Diffstat (limited to 'net-im/msn-transport/msn-transport-20040531-r1.ebuild')
-rw-r--r-- | net-im/msn-transport/msn-transport-20040531-r1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/net-im/msn-transport/msn-transport-20040531-r1.ebuild b/net-im/msn-transport/msn-transport-20040531-r1.ebuild new file mode 100644 index 000000000000..2570e7362d19 --- /dev/null +++ b/net-im/msn-transport/msn-transport-20040531-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/msn-transport/msn-transport-20040531-r1.ebuild,v 1.1 2004/07/09 18:07:04 humpback Exp $ + +MY_PV="2004-05-31" +#Ugly, msn-transport weired version numbers +MY_SDIR="1.3-cvs" +S="${WORKDIR}/${PN}-${MY_PV}" +DESCRIPTION="MSN transport for jabberd" +HOMEPAGE="http://msn-transport.jabberstudio.org/" +SRC_URI="http://msn-transport.jabberstudio.org/${PN}-${MY_PV}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="x86 ~ppc hppa ~sparc" +IUSE="" +SLOT="0" + +DEPEND=">=net-im/jabberd-1.4* + net-misc/curl" + +src_compile() { + cd ${WORKDIR}/${PN}-${MY_SDIR} + econf \ + --with-jabberd=/usr/include/jabberd \ + --with-pth=/usr/include \ + || die + emake || die +} + +src_install() { + dodir /etc/jabber /usr/lib/jabberd + insinto /usr/lib/jabberd + doins ${WORKDIR}/${PN}-${MY_SDIR}/src/msntrans.so + insinto /etc/jabber + doins ${FILESDIR}/msnt.xml + exeinto /etc/init.d + newexe ${FILESDIR}/msn-transport.init-r2 msn-transport + insinto /etc/conf.d ; newins ${FILESDIR}/msn-transport-conf.d msn-transport + dodoc README ${FILESDIR}/README.Gentoo msnt.xml +} + +pkg_postinst() { + einfo + einfo "Please read /usr/share/doc/${P}/README.Gentoo.gz" + einfo "And please notice that now msn-transport comes with a init.d script" + einfo "dont forget to add it to your runlevel." + einfo +} |