blob: 1bee6f934193cda8a15e1e01455eede486d9d90f (
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: /var/cvsroot/gentoo-x86/media-libs/libaacs/libaacs-0.3.0.ebuild,v 1.1 2011/12/12 22:21:05 radhermit Exp $
EAPI=4
inherit autotools-utils
DESCRIPTION="Open implementation of the Advanced Access Content System (AACS) specification"
HOMEPAGE="http://www.videolan.org/developers/libaacs.html"
SRC_URI="ftp://ftp.videolan.org/pub/videolan/libaacs/${PV}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples static-libs"
RDEPEND="dev-libs/libgcrypt
dev-libs/libgpg-error"
DEPEND="${RDEPEND}"
DOCS=( KEYDB.cfg )
src_configure() {
local myeconfargs=(
--disable-optimizations
)
autotools-utils_src_configure
}
src_install() {
autotools-utils_src_install
if use examples ; then
cd "${AUTOTOOLS_BUILD_DIR}"/src/examples/.libs || die
dobin libaacs_test parser_test
fi
}
|