summaryrefslogtreecommitdiff
blob: adcbfc5b7873612ea6a87317332834996ae25048 (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-2008 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.5 2008/01/11 20:38:20 grobian 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 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
}