summaryrefslogtreecommitdiff
blob: 6db9a2586eddfae00c65a6366cea0ae636abc9c5 (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit git-2 eutils

DESCRIPTION="Dump Firefox, SeaMonkey and Thunderbird passwords from profile"
HOMEPAGE="https://github.com/kholia/mozilla_password_dump"
SRC_URI=""
EGIT_REPO_URI="git://github.com/kholia/mozilla_password_dump.git"

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

DEPEND="dev-libs/nspr
		dev-libs/nss
		dev-libs/iniparser
		dev-libs/sqlite:3"
RDEPEND="${DEPEND}"

src_compile() {
	$(tc-getCC) \
	${CFLAGS} \
	-I/usr/include/nss -I/usr/include/nspr -c mozilla_password_dump.c || die
	$(tc-getCC) \
	${LDFLAGS} \
	-o mozilla_password_dump mozilla_password_dump.o \
	-lnspr4 -lnss3 -lsqlite3 -liniparser || die
}

src_install() {
	dobin ${PN}
	dodoc README
}