blob: 082c048c79a2b9c2b815d1c10f6e554a4e8d2b03 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/encfs/encfs-1.5.ebuild,v 1.4 2008/12/01 20:35:24 bluebird Exp $
inherit eutils
MY_P="${P}-2"
DESCRIPTION="Encrypted Filesystem module for Linux"
SRC_URI="http://encfs.googlecode.com/files/${MY_P}.tgz"
HOMEPAGE="http://www.arg0.net/encfs"
LICENSE="GPL-2"
KEYWORDS="amd64 sparc x86"
SLOT="0"
IUSE="nls"
DEPEND=">=dev-libs/openssl-0.9.7
>=sys-fs/fuse-2.6
>=dev-libs/rlog-1.3.6
>=dev-libs/boost-1.34
nls? ( >=sys-devel/gettext-0.14.1 )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-boost-system-and-as-needed.patch
}
src_compile() {
econf `use_enable nls` || die
emake || die
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog README
}
pkg_postinst() {
einfo "Please see http://www.arg0.net/encfsintro"
einfo "if this is your first time using encfs."
}
|