/[gentoo-x86]/media-video/dvbackup/dvbackup-0.0.4-r1.ebuild
Gentoo

Contents of /media-video/dvbackup/dvbackup-0.0.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Aug 10 20:58:04 2014 UTC (5 years, 11 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/dvbackup/dvbackup-0.0.4-r1.ebuild,v 1.2 2010/07/29 21:50:19 mr_bones_ Exp $
4
5 EAPI="2"
6
7 inherit eutils
8
9 DESCRIPTION="A small utility for creating backups on DV tapes"
10 HOMEPAGE="http://dvbackup.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/dvbackup/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~x86"
16 IUSE=""
17
18 DEPEND="sys-libs/glibc
19 dev-libs/popt
20 sys-libs/zlib"
21
22 RDEPEND="${DEPEND}
23 media-libs/libdv"
24
25 src_prepare() {
26 local i
27
28 epatch "${FILESDIR}/${P}-gcc4.diff"
29
30 # fix Makefile to respect $LDFLAGS
31 sed -i -e 's:gcc \$(CFLAGS):\$(CC) \$(CFLAGS) \$(LDFLAGS):g' \
32 -e 's:^\(CFLAGS=\):#\1:g' Makefile
33
34 # convert LATIN1 docs to UTF-8
35 for i in ChangeLog ReleaseNotes; do
36 if [ -f "${i}" ]; then
37 echo ">>> Converting ${i} to UTF-8"
38 iconv -f LATIN1 -t UTF8 -o "${i}~" "${i}" && mv -f "${i}~" "${i}" || rm -f "${i}~"
39 fi
40 done
41 }
42
43 src_compile() {
44 emake dvbackup || die "emake failed"
45 }
46
47 src_install() {
48 dobin dvbackup
49 insinto /usr/share/${PN}
50 doins underrun-ntsc.dv underrun-pal.dv
51 dodoc AUTHORS ChangeLog ReleaseNotes
52 dohtml dvbackup.html
53 }

  ViewVC Help
Powered by ViewVC 1.1.20