/[gentoo-x86]/app-arch/snappy/snappy-1.1.2.ebuild
Gentoo

Contents of /app-arch/snappy/snappy-1.1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Mar 11 20:33:15 2014 UTC (14 months, 1 week ago) by radhermit
Branch: MAIN
Version bump, add myself as a maintainer.

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="5"
6
7 inherit eutils autotools
8
9 DESCRIPTION="A high-speed compression/decompression library by Google"
10 HOMEPAGE="https://code.google.com/p/snappy/"
11 # upstream uses google drive which has hash-based URLS
12 SRC_URI="http://dev.gentoo.org/~radhermit/dist/${P}.tar.gz"
13
14 LICENSE="BSD"
15 SLOT="0"
16 KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
17 IUSE="static-libs"
18
19 src_prepare() {
20 default
21
22 # Avoid automagic lzo and gzip by not checking for it
23 sed -i '/^CHECK_EXT_COMPRESSION_LIB/d' configure.ac || die
24
25 # don't install unwanted files
26 sed -i 's/COPYING INSTALL//' Makefile.am || die
27
28 eautoreconf
29 }
30
31 src_configure() {
32 econf \
33 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
34 --without-gflags \
35 --disable-gtest \
36 $(use_enable static-libs static)
37 }
38
39 src_install() {
40 default
41 prune_libtool_files
42 }

  ViewVC Help
Powered by ViewVC 1.1.20