summaryrefslogtreecommitdiff
blob: 93c8c45b5a8e1545591715e7fabb78b60322935b (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
28
29
30
31
32
33
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit versionator

MY_P=${PN}-$(replace_all_version_separators '-')
DESCRIPTION="A simple, lightweight tool for sniping ebay auctions."
HOMEPAGE="http://esniper.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="dev-libs/openssl
		>=net-misc/curl-7.12"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${MY_P}

src_install() {
	emake DESTDIR="${D}" install || die "install failed"
	dobin frontends/snipe || die
	dodoc README NEWS TODO AUTHORS sample_auction.txt sample_config.txt || die
}

pkg_postinst() {
	elog
	elog "Please find a sample config at /usr/share/doc/${P}/sample_config.txt.bz2"
	elog
}