Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/hrktorrent: ChangeLog hrktorrent-0.2.2.ebuild hrktorrent-0.2.1.ebuild
Date: Mon, 26 Nov 2007 17:46:23
Message-Id: E1Iwi2D-0007Uj-Nf@stork.gentoo.org
1 armin76 07/11/26 17:46:17
2
3 Modified: ChangeLog
4 Added: hrktorrent-0.2.2.ebuild
5 Removed: hrktorrent-0.2.1.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.1.3.19)
9
10 Revision Changes Path
11 1.2 net-p2p/hrktorrent/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/hrktorrent/ChangeLog?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/hrktorrent/ChangeLog?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/hrktorrent/ChangeLog?r1=1.1&r2=1.2
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/hrktorrent/ChangeLog,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- ChangeLog 23 Nov 2007 19:35:24 -0000 1.1
24 +++ ChangeLog 26 Nov 2007 17:46:17 -0000 1.2
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-p2p/hrktorrent
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/hrktorrent/ChangeLog,v 1.1 2007/11/23 19:35:24 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/hrktorrent/ChangeLog,v 1.2 2007/11/26 17:46:17 armin76 Exp $
30 +
31 +*hrktorrent-0.2.2 (26 Nov 2007)
32 +
33 + 26 Nov 2007; Raúl Porcel <armin76@g.o> -hrktorrent-0.2.1.ebuild,
34 + +hrktorrent-0.2.2.ebuild:
35 + Version bump
36
37 *hrktorrent-0.2.1 (23 Nov 2007)
38
39
40
41
42 1.1 net-p2p/hrktorrent/hrktorrent-0.2.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/hrktorrent/hrktorrent-0.2.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/hrktorrent/hrktorrent-0.2.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: hrktorrent-0.2.2.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-p2p/hrktorrent/hrktorrent-0.2.2.ebuild,v 1.1 2007/11/26 17:46:17 armin76 Exp $
52
53 inherit toolchain-funcs
54
55 DESCRIPTION="A slim rb_libtorrent based console torrent application supporting DHT"
56 HOMEPAGE="http://henrik.unit5.ca/hrktorrent/"
57 SRC_URI="http://henrik.unit5.ca/hrktorrent/${P}.tar.bz2"
58
59 LICENSE="BSD"
60 SLOT="0"
61 KEYWORDS="~x86"
62 IUSE=""
63
64 RDEPEND="dev-cpp/asio
65 =net-libs/rb_libtorrent-0.12"
66 DEPEND="${RDEPEND}"
67
68 src_unpack() {
69 unpack ${A}
70 cd "${S}"
71
72 # Respect CFLAGS, call g++ correctly, and don't strip
73 sed -i -e "s/-O2 -pipe/${CFLAGS}/g" -e "s/g++/$(tc-getCXX)/g" \
74 -e "s/-lpthread -s/-lpthread/g" -e "s/\$(C) -c/\$(C) \$(CFLAGS) -c/g" \
75 Makefile || die "sed failed"
76 }
77
78 src_install() {
79 dodir /usr/bin
80 cp "${WORKDIR}/${P}/hrktorrent" "${D}/usr/bin" || die "install failed"
81 dodoc CHANGELOG README hrktorrent.rc.example
82 }
83
84 pkg_postinst() {
85 elog "A sample configuration file for ${PN} can be found"
86 elog "in /usr/share/doc/${PF}/hrktorrent.rc.example.{gz,bz2}"
87 elog "To use a config file, extract it, put it in your home directory"
88 elog "and name it \".hrktorrent.rc\""
89 }
90
91
92
93 --
94 gentoo-commits@g.o mailing list