/[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.4 - (hide annotations) (download)
Sun Dec 4 16:43:32 2011 UTC (2 years, 10 months ago) by hwoarang
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable on amd64 wrt bug #346299

(Portage version: 2.2.0_alpha71/cvs/Linux x86_64)

1 sping 1.1 # Copyright 1999-2011 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 hwoarang 1.4 # $Header: /var/cvsroot/gentoo-x86/sys-fs/encfs/encfs-1.7.4.ebuild,v 1.3 2011/11/28 11:43:13 phajdan.jr Exp $
4 sping 1.1
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 hwoarang 1.4 KEYWORDS="amd64 ~sparc x86"
15 sping 1.1 IUSE="xattr"
16    
17     RDEPEND=">=dev-libs/boost-1.34
18     >=dev-libs/openssl-0.9.7
19     >=dev-libs/rlog-1.4
20 blueness 1.2 >=sys-fs/fuse-2.7.0
21     sys-libs/zlib"
22 sping 1.1 DEPEND="${RDEPEND}
23     dev-lang/perl
24     dev-util/pkgconfig
25     xattr? ( sys-apps/attr )
26     sys-devel/gettext"
27    
28     src_prepare() {
29     epatch "${FILESDIR}"/${PN}-1.7.4-r68:69.patch
30     }
31    
32     src_configure() {
33     BOOST_PKG="$(best_version dev-libs/boost)"
34     BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
35     BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
36     BOOST_INC="/usr/include/boost-${BOOST_VER}"
37     BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}"
38     einfo "Building against ${BOOST_PKG}."
39    
40     use xattr || export ac_cv_header_attr_xattr_h=no
41    
42     econf \
43     --with-boost=${BOOST_INC} \
44     --with-boost-libdir=${BOOST_LIB} \
45     --disable-dependency-tracking
46     }
47    
48     src_install() {
49     emake DESTDIR="${D}" install || die
50     dodoc AUTHORS ChangeLog README
51     find "${D}" -name '*.la' -delete
52     }

  ViewVC Help
Powered by ViewVC 1.1.20