summaryrefslogtreecommitdiff
blob: de96499aefa4506d93aa395eaa67606fbc07629e (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
39
40
41
42
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/emovix/emovix-0.9.0_pre1.ebuild,v 1.3 2005/01/15 22:53:00 luckyduck Exp $

MY_P="${P/_/}"

DESCRIPTION="Micro Linux distro to boot from a CD and play every video file localized in the CD root."
HOMEPAGE="http://movix.sourceforge.net/"
CODEC_URI="http://www1.mplayerhq.hu/MPlayer/releases/codecs/"
SRC_URI="mirror://sourceforge/movix/${MY_P}.tar.gz
			codecs? ( ${CODEC_URI}qt63dlls-20040626.tar.bz2
					${CODEC_URI}rp9codecs-20040626.tar.bz2
					${CODEC_URI}rp9codecs-win32-20040626.tar.bz2
					${CODEC_URI}win32codecs-20040703.tar.bz2
					${CODEC_URI}xanimdlls-20040626.tar.bz2 )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="codecs"
DEPEND=">=dev-lang/perl-5.0
		sys-apps/gawk
		virtual/cdrtools"

S="${WORKDIR}/${MY_P}"

src_unpack() {
	unpack ${MY_P}.tar.gz
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc AUTHORS ChangeLog INSTALL README* TODO
	if use codecs
	then
		insinto /usr/share/emovix/codecs
		insopts -m622
		doins ${DISTDIR}/qt63dlls-20040626.tar.bz2 ${DISTDIR}/rp9codecs-20040626.tar.bz2 \
		${DISTDIR}/rp9codecs-win32-20040626.tar.bz2 ${DISTDIR}/win32codecs-20040703.tar.bz2 \
		${DISTDIR}/xanimdlls-20040626.tar.bz2
	fi
}