/[gentoo-x86]/sys-fs/encfs/encfs-1.7.4.ebuild
Gentoo

Contents of /sys-fs/encfs/encfs-1.7.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Nov 22 23:05:54 2011 UTC (2 years, 10 months ago) by sping
Branch: MAIN
sys-fs/encfs: Bump to 1.7.4 (bug #346299)

(Portage version: 2.1.10.36/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-fs/encfs/encfs-1.7.2.ebuild,v 1.3 2010/09/17 10:22:44 fauli Exp $
4
5 EAPI=2
6 inherit eutils multilib versionator
7
8 DESCRIPTION="An implementation of encrypted filesystem in user-space using FUSE"
9 HOMEPAGE="http://www.arg0.net/encfs/"
10 SRC_URI="http://encfs.googlecode.com/files/${P}.tgz"
11
12 LICENSE="GPL-3"
13 SLOT="0"
14 KEYWORDS="~amd64 ~sparc ~x86"
15 IUSE="xattr"
16
17 RDEPEND=">=dev-libs/boost-1.34
18 >=dev-libs/openssl-0.9.7
19 >=dev-libs/rlog-1.4
20 >=sys-fs/fuse-2.7.0"
21 DEPEND="${RDEPEND}
22 dev-lang/perl
23 dev-util/pkgconfig
24 xattr? ( sys-apps/attr )
25 sys-devel/gettext"
26
27 src_prepare() {
28 epatch "${FILESDIR}"/${PN}-1.7.4-r68:69.patch
29 }
30
31 src_configure() {
32 BOOST_PKG="$(best_version dev-libs/boost)"
33 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
34 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
35 BOOST_INC="/usr/include/boost-${BOOST_VER}"
36 BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}"
37 einfo "Building against ${BOOST_PKG}."
38
39 use xattr || export ac_cv_header_attr_xattr_h=no
40
41 econf \
42 --with-boost=${BOOST_INC} \
43 --with-boost-libdir=${BOOST_LIB} \
44 --disable-dependency-tracking
45 }
46
47 src_install() {
48 emake DESTDIR="${D}" install || die
49 dodoc AUTHORS ChangeLog README
50 find "${D}" -name '*.la' -delete
51 }

  ViewVC Help
Powered by ViewVC 1.1.20