summaryrefslogtreecommitdiff
blob: da5c72db050a1cc00943b7ced4fd83fa9dff1916 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libnut/libnut-282.ebuild,v 1.1 2007/03/18 19:18:07 beandog Exp $

inherit flag-o-matic

DESCRIPTION="Library and tools to create NUT multimedia files"
HOMEPAGE="http://svn.mplayerhq.hu/nut/trunk/
	http://wiki.multimedia.cx/index.php?title=NUT"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
S="${WORKDIR}/${PN}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=""

src_compile() {
	sed -i 's/^CFLAGS\ =\ /CFLAGS\ =\ \-fPIC\ /' config.mak
	emake PREFIX="${D}/usr" || die "emake died"
}

src_install() {
	make PREFIX="${D}/usr" install || die "make install died"
	dodoc README docs/*
	cd ${S}/nututils
	dobin nutindex nutmerge avireader
}