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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Sep 18 19:02:03 2010 UTC (4 years ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +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.6.ebuild,v 1.7 2010/08/31 19:05:41 ssuominen Exp $
4
5 EAPI=2
6
7 inherit multilib versionator
8
9 DESCRIPTION="An implementation of encrypted filesystem in user-space using FUSE"
10 HOMEPAGE="http://www.arg0.net/encfs/"
11 SRC_URI="http://encfs.googlecode.com/files/${P}-1.tgz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="amd64 ~sparc x86"
16 IUSE="xattr"
17
18 RDEPEND=">=dev-libs/boost-1.34
19 >=dev-libs/openssl-0.9.7
20 >=dev-libs/rlog-1.4
21 >=sys-fs/fuse-2.7.0"
22 DEPEND="${RDEPEND}
23 dev-lang/perl
24 dev-util/pkgconfig
25 xattr? ( sys-apps/attr )
26 sys-devel/gettext"
27
28 src_configure() {
29 BOOST_PKG="$(best_version dev-libs/boost)"
30 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
31 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
32 BOOST_INC="/usr/include/boost-${BOOST_VER}"
33 BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}"
34 einfo "Building against ${BOOST_PKG}."
35
36 use xattr || export ac_cv_header_attr_xattr_h=no
37
38 econf \
39 --with-boost=${BOOST_INC} \
40 --with-boost-libdir=${BOOST_LIB} \
41 --disable-dependency-tracking
42 }
43
44 src_install() {
45 emake DESTDIR="${D}" install || die
46 dodoc AUTHORS ChangeLog README
47 find "${D}" -name '*.la' -delete
48 }

  ViewVC Help
Powered by ViewVC 1.1.20