summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-09-07 10:53:29 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-09-07 10:53:29 +0000
commit83b5575a4b53ab6023999ac10c861861f54c4c6e (patch)
tree6d77fafa8a6d16e555c1a658a186e9255ae76ef0 /sys-fs/encfs/encfs-1.7.2.ebuild
parentVersion bump. (diff)
downloadgentoo-2-83b5575a4b53ab6023999ac10c861861f54c4c6e.tar.gz
gentoo-2-83b5575a4b53ab6023999ac10c861861f54c4c6e.tar.bz2
gentoo-2-83b5575a4b53ab6023999ac10c861861f54c4c6e.zip
Version bump wrt #336171 by Tassilo Horn.
(Portage version: 2.2_rc75/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/encfs/encfs-1.7.2.ebuild')
-rw-r--r--sys-fs/encfs/encfs-1.7.2.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/sys-fs/encfs/encfs-1.7.2.ebuild b/sys-fs/encfs/encfs-1.7.2.ebuild
new file mode 100644
index 000000000000..1eb1daa1311f
--- /dev/null
+++ b/sys-fs/encfs/encfs-1.7.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/encfs/encfs-1.7.2.ebuild,v 1.1 2010/09/07 10:53:29 ssuominen Exp $
+
+EAPI=2
+inherit multilib versionator
+
+DESCRIPTION="An implementation of encrypted filesystem in user-space using FUSE"
+HOMEPAGE="http://www.arg0.net/encfs/"
+SRC_URI="http://encfs.googlecode.com/files/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="xattr"
+
+RDEPEND=">=dev-libs/boost-1.34
+ >=dev-libs/openssl-0.9.7
+ >=dev-libs/rlog-1.4
+ >=sys-fs/fuse-2.7.0"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ dev-util/pkgconfig
+ xattr? ( sys-apps/attr )
+ sys-devel/gettext"
+
+src_configure() {
+ BOOST_PKG="$(best_version dev-libs/boost)"
+ BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
+ BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
+ BOOST_INC="/usr/include/boost-${BOOST_VER}"
+ BOOST_LIB="/usr/$(get_libdir)/boost-${BOOST_VER}"
+ einfo "Building against ${BOOST_PKG}."
+
+ use xattr || export ac_cv_header_attr_xattr_h=no
+
+ econf \
+ --with-boost=${BOOST_INC} \
+ --with-boost-libdir=${BOOST_LIB} \
+ --disable-dependency-tracking
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog README
+ find "${D}" -name '*.la' -delete
+}