blob: d3ee217a73290ab73096bc050d0b2bd45a45c74d (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/mktorrent/mktorrent-0.4.ebuild,v 1.1 2007/12/30 15:55:51 armin76 Exp $
inherit toolchain-funcs
DESCRIPTION="Simple command line utility to create BitTorrent metainfo files"
HOMEPAGE="http://mktorrent.sourceforge.net/"
SRC_URI="mirror://sourceforge/mktorrent/mktorrent-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND="dev-libs/openssl"
src_unpack() {
unpack ${A}
sed -i -e 's/^#DONT_STRIP/DONT_STRIP/' \
-e "s/CC\t?= cc/CC = $(tc-getCC)/g" "${S}"/Makefile
}
src_install() {
dobin mktorrent || die "dobin failed"
dodoc README
}
|