1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
10 DESCRIPTION="A high performance inline data deduplicating filesystem"
11 HOMEPAGE="http://www.lessfs.com"
12 SRC_URI="mirror://sourceforge/${PN}/${PN}/${MY_P}/${MY_P}.tar.gz"
17 IUSE="berkdb crypt debug filelog memtrace lzo"
19 DEPEND="berkdb? ( sys-libs/db )
20 >=dev-db/tokyocabinet-1.4.42
23 crypt? ( dev-libs/openssl )
24 lzo? ( dev-libs/lzo )"
28 S="${WORKDIR}/${MY_P}"
30 DOC_CONTENTS="Default configuration file: /etc/${PN}.cfg.
31 If your host is a client consult the following configuration
32 file: /usr/share/doc/${PF}/${PN}.cfg-slave.*"
36 $(use_enable debug) $(use_enable debug lckdebug) \
37 $(use_enable filelog) $(use_with crypt crypto) \
38 $(use_with lzo) $(use_enable memtrace) \
39 $(use_with berkdb berkeleydb)
43 emake DESTDIR="${D}" install
44 dodoc ChangeLog FAQ README.*
46 newins examples/lessfs.cfg-master ${PN}.cfg
47 dodoc examples/lessfs.* etc/lessfs.*
48 readme.gentoo_create_doc