/[gentoo-x86]/app-cdr/dvd95/dvd95-1.3_p0.ebuild
Gentoo

Contents of /app-cdr/dvd95/dvd95-1.3_p0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jun 15 16:05:29 2008 UTC (11 years, 7 months ago) by drac
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.5.5)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-cdr/dvd95/dvd95-1.3_p0.ebuild,v 1.1 2007/12/16 21:15:59 pylon Exp $
4
5 MY_P=${P/_/}
6 S=${WORKDIR}/${MY_P}
7
8 DESCRIPTION="DVD95 is a Gnome application to convert DVD9 to DVD5."
9 HOMEPAGE="http://dvd95.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/dvd95/${MY_P/_/}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE_LINGUAS="linguas_de linguas_cs linguas_el linguas_en linguas_fr linguas_hu linguas_nl linguas_pt_BR"
16 IUSE="${IUSE_LINGUAS} mmx 3dnow sse sse2"
17
18 DEPEND="gnome-base/libgnomeui
19 media-libs/libdvdread"
20
21 RDEPEND="gnome-base/libgnomeui
22 media-libs/libdvdread"
23
24 src_unpack() {
25 unpack ${A}
26 cd "${S}"
27
28 sed -i "s#prefix = /usr/local#prefix = /usr#" po/Makefile.in
29 }
30
31 src_compile() {
32 # Default language is French, but switch to English if no LINGUAS is set.
33
34 if [ -z "${LINGUAS}" ]; then
35 export LINGUAS="en"
36 fi
37
38 econf $(use_enable mmx) \
39 $(use_enable 3dnow) \
40 $(use_enable sse) \
41 $(use_enable sse2) \
42 || die "econf failed"
43
44 emake || die "emake failed"
45 }
46
47 src_install() {
48 make DESTDIR="${D}" install || die "install failed"
49 dodoc AUTHORS ChangeLog NEWS README
50 }

  ViewVC Help
Powered by ViewVC 1.1.20