summaryrefslogtreecommitdiff
blob: f6250114ada28c834be88644308aaf3fe7dcd89b (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ccrypt/ccrypt-1.7-r1.ebuild,v 1.4 2007/11/11 06:53:02 drac Exp $

inherit eutils

DESCRIPTION="Encryption and decryption"
HOMEPAGE="http://ccrypt.sourceforge.net"
SRC_URI="http://ccrypt.sourceforge.net/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ~ppc-macos x86"
IUSE=""

src_unpack() {
	unpack ${A}
	cd "${S}"

	# bug#181397
	# Upstream
	# http://sourceforge.net/tracker/index.php?func=detail&aid=1734098&group_id=40913&atid=429291
	epatch "${FILESDIR}/${P}-emacs.patch"
}

src_install () {
	emake \
		DESTDIR="${D}" \
		htmldir=/usr/share/doc/${PF} \
		install || die
	dodoc AUTHORS ChangeLog NEWS README
}