blob: 1794689fa4602083afb2c58d31839bb8e8624d55 (
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
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/clamz/clamz-0.4.ebuild,v 1.1 2010/05/27 14:37:32 lack Exp $
EAPI=3
inherit fdo-mime
DESCRIPTION="Command-line downloader for the Amazon.com MP3 music store"
HOMEPAGE="http://code.google.com/p/clamz/"
SRC_URI="http://clamz.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND="dev-libs/expat
net-misc/curl
dev-libs/libgcrypt"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_configure() {
UPDATE_MIME_DATABASE=true \
UPDATE_DESKTOP_DATABASE=true \
econf
}
src_install() {
emake DESTDIR="${D}" install || die "Install failed"
dodoc README
}
pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
einfo "To link clamz with your amazon.com account, visit:"
einfo " http://www.amazon.com/gp/dmusic/after_download_manager_install.html"
}
pkg_postrm() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}
|