summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/lessfs/lessfs-1.3.3.9.ebuild')
-rw-r--r--sys-fs/lessfs/lessfs-1.3.3.9.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/sys-fs/lessfs/lessfs-1.3.3.9.ebuild b/sys-fs/lessfs/lessfs-1.3.3.9.ebuild
new file mode 100644
index 000000000000..ef6a01fcece6
--- /dev/null
+++ b/sys-fs/lessfs/lessfs-1.3.3.9.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lessfs/lessfs-1.3.3.9.ebuild,v 1.1 2011/04/10 09:26:02 hwoarang Exp $
+
+EAPI="2"
+
+MY_PV="${PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+DESCRIPTION="A high performance inline data deduplicating filesystem"
+HOMEPAGE="http://www.lessfs.com"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/${P/_beta*/-beta}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="lzo crypt debug"
+
+DEPEND=">=dev-db/tokyocabinet-1.4.42
+ app-crypt/mhash
+ >=sys-fs/fuse-2.8.0
+ crypt? ( dev-libs/openssl )
+ lzo? ( dev-libs/lzo )"
+
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ econf \
+ $(use_enable debug) $(use_enable debug lckdebug) \
+ $(use_with crypt crypto) $(use_with lzo)
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc ChangeLog FAQ README.* || die "dodpc failed"
+ insinto /etc
+ newins examples/lessfs.cfg-master ${PN}.cfg || die "newins failed"
+ dodoc examples/lessfs.* etc/lessfs.* || die "dodoc failed"
+
+}
+
+pkg_postinst() {
+ elog
+ elog "Default configuration file: /etc/${PN}.cfg"
+ elog "If your host is a client consult the following configuration"
+ elog "file: /usr/share/doc/${PF}/${PN}.cfg-slave.bz2"
+ elog
+}