blob: 0437c125c5de70077ee514587b5c1990b50b2b5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/zopfli/zopfli-1.0.0_p20131216.ebuild,v 1.2 2014/01/16 20:54:50 vincent Exp $
EAPI="5"
inherit eutils multilib toolchain-funcs
DESCRIPTION="Compression library programmed in C to perform very good, but slow, deflate or zlib compression"
HOMEPAGE="https://github.com/Hello71/zopfli/"
SRC_URI="https://dev.gentoo.org/~pinkbyte/distfiles/snapshots/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0/1"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
S="${WORKDIR}/${PN}"
src_prepare() {
# Respect compiler
tc-export CC CXX
epatch_user
}
src_install() {
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" libdir="${EPREFIX}/usr/$(get_libdir)" install
dodoc CONTRIBUTORS README README.${PN}png
}
|