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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-fs/encfs/encfs-1.7.4.ebuild,v 1.5 2012/05/04 19:09:17 jdhore Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-fs/encfs/encfs-1.7.4.ebuild,v 1.6 2012/10/31 23:14:20 flameeyes Exp $
4 4
5EAPI=2 5EAPI=2
6inherit eutils multilib versionator 6inherit eutils multilib
7 7
8DESCRIPTION="An implementation of encrypted filesystem in user-space using FUSE" 8DESCRIPTION="An implementation of encrypted filesystem in user-space using FUSE"
9HOMEPAGE="http://www.arg0.net/encfs/" 9HOMEPAGE="http://www.arg0.net/encfs/"
10SRC_URI="http://encfs.googlecode.com/files/${P}.tgz" 10SRC_URI="http://encfs.googlecode.com/files/${P}.tgz"
11 11
28src_prepare() { 28src_prepare() {
29 epatch "${FILESDIR}"/${PN}-1.7.4-r68:69.patch 29 epatch "${FILESDIR}"/${PN}-1.7.4-r68:69.patch
30} 30}
31 31
32src_configure() { 32src_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 33 use xattr || export ac_cv_header_attr_xattr_h=no
41 34
42 econf \ 35 econf \
43 --with-boost=${BOOST_INC} \
44 --with-boost-libdir=${BOOST_LIB} \
45 --disable-dependency-tracking 36 --disable-dependency-tracking
46} 37}
47 38
48src_install() { 39src_install() {
49 emake DESTDIR="${D}" install || die 40 emake DESTDIR="${D}" install || die

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20