aboutsummaryrefslogtreecommitdiff
blob: 7a634677ce8af9b8b6260278a12427d7fb64ad4b (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

DESCRIPTION="A thin wrapper around FFmpeg"
HOMEPAGE="http://code.google.com/p/avbin/"
SRC_URI="
	amd64? ( http://avbin.googlecode.com/files/avbin-linux-x86-64-${PV}.tar.gz )
	x86? ( http://avbin.googlecode.com/files/avbin-linux-x86-32-${PV}.tar.gz )"

LICENSE="GPL-3 LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 -*"
IUSE=""

src_install() {
	if use amd64; then
		cd "${WORKDIR}"/avbin-linux-x86-64-${PV} || die
	elif use x86; then
		cd "${WORKDIR}"/avbin-linux-x86-32-${PV} || die
	fi

	ln -s libavbin.so.${PV} libavbin.so || die
	dolib libavbin.so*
}