blob: fb00c2634f285d526b8ce3752475c25a8decbb6f (
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
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
EGIT_REPO_URI="https://github.com/divVerent/s2tc.git"
inherit git-2 autotools
DESCRIPTION="s2tc (non-patented s3tc) texture compression library"
HOMEPAGE="https://github.com/divVerent/s2tc/wiki/"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="virtual/opengl"
RDEPEND="${DEPEND}
!x11-libs/libtxc_dxtn
"
src_prepare() {
eautoreconf
}
src_configure() {
econf \
--disable-static \
--disable-runtime-linking \
--enable-lib \
--enable-tools
}
src_install() {
default
find "${ED}" -name '*.la' -exec rm -f {} +
}
|