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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Sep 18 19:02:03 2010 UTC (3 years, 10 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
punt vulnerable ebuilds

(Portage version: 2.2_rc83/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.1.ebuild,v 1.3 2010/09/06 22:29:27 hwoarang Exp $
4
5 EAPI=2
6 inherit 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_configure() {
28 BOOST_PKG="$(best_version dev-libs/boost)"
29 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
30 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
31 BOOST_INC="/usr/include/boost-${BOOST_VER}"
32 BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}"
33 einfo "Building against ${BOOST_PKG}."
34
35 use xattr || export ac_cv_header_attr_xattr_h=no
36
37 econf \
38 --with-boost=${BOOST_INC} \
39 --with-boost-libdir=${BOOST_LIB} \
40 --disable-dependency-tracking
41 }
42
43 src_install() {
44 emake DESTDIR="${D}" install || die
45 dodoc AUTHORS ChangeLog README
46 find "${D}" -name '*.la' -delete
47 }

  ViewVC Help
Powered by ViewVC 1.1.20