blob: 4af8726d606579308d8c3e2924a181531ec2fe24 (
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
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils
DESCRIPTION="Free implementation of the DVB Common Scrambling Algorithm - DVB/CSA"
HOMEPAGE="http://www.videolan.org/developers/${PN}.html"
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-2"
SLOT="0"
IUSE="debug cpu_flags_x86_mmx cpu_flags_x86_sse2 +static-libs"
DEPEND=""
DOCS=( AUTHORS ChangeLog INSTALL NEWS README )
src_prepare() {
epatch_user
}
src_configure() {
econf \
$(use_enable ppc altivec) \
$(use_enable debug) \
$(use_enable cpu_flags_x86_mmx mmx) \
$(use_enable cpu_flags_x86_sse2 sse2) \
$(use_enable static-libs static) \
$(use_enable x86 uint32) \
$(use_enable amd64 uint64) \
--enable-shared
}
|