diff options
Diffstat (limited to 'media-video/dvdimagecmp')
-rw-r--r-- | media-video/dvdimagecmp/Manifest | 1 | ||||
-rw-r--r-- | media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild | 31 | ||||
-rw-r--r-- | media-video/dvdimagecmp/files/dvdimagecmp-0.3.diff | 23 | ||||
-rw-r--r-- | media-video/dvdimagecmp/metadata.xml | 8 |
4 files changed, 63 insertions, 0 deletions
diff --git a/media-video/dvdimagecmp/Manifest b/media-video/dvdimagecmp/Manifest new file mode 100644 index 000000000000..d3cb2b047c3f --- /dev/null +++ b/media-video/dvdimagecmp/Manifest @@ -0,0 +1 @@ +DIST dvdimagecmp-0.3.tgz 10483 RMD160 19ae3eff959e3367f5e31db6e004441476647f1d SHA1 56c63ea845ad85e77f693c6765a6ca40d7ec1388 SHA256 453df95038dfa7cf5de679323d82963f62adbf39b72cc863542a05ae1dba25a1 diff --git a/media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild b/media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild new file mode 100644 index 000000000000..002e11a4f4e8 --- /dev/null +++ b/media-video/dvdimagecmp/dvdimagecmp-0.3-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs flag-o-matic + +IUSE="" + +DESCRIPTION="Tool to compare a burned DVD with an image to check for errors" +HOMEPAGE="http://panteltje.com/panteltje/dvd/" +SRC_URI="http://panteltje.com/panteltje/dvd/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}.diff" +} + +src_compile() { + append-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + dobin dvdimagecmp + dodoc CHANGES README +} diff --git a/media-video/dvdimagecmp/files/dvdimagecmp-0.3.diff b/media-video/dvdimagecmp/files/dvdimagecmp-0.3.diff new file mode 100644 index 000000000000..95917293c130 --- /dev/null +++ b/media-video/dvdimagecmp/files/dvdimagecmp-0.3.diff @@ -0,0 +1,23 @@ +diff -Naur dvdimagecmp-0.3.orig/dvdimagecmp.c dvdimagecmp-0.3/dvdimagecmp.c +--- dvdimagecmp-0.3.orig/dvdimagecmp.c 2005-01-04 14:54:52.000000000 +0100 ++++ dvdimagecmp-0.3/dvdimagecmp.c 2007-10-06 15:36:34.000000000 +0200 +@@ -33,6 +33,7 @@ + #include <errno.h> + #include <ctype.h> + #include <time.h> ++#include <string.h> + + #define MAX_RETRIES 1 + #define BUFFER_SIZE 2048*16 +diff -Naur dvdimagecmp-0.3.orig/Makefile dvdimagecmp-0.3/Makefile +--- dvdimagecmp-0.3.orig/Makefile 2005-01-04 14:54:52.000000000 +0100 ++++ dvdimagecmp-0.3/Makefile 2007-10-06 15:36:59.000000000 +0200 +@@ -13,7 +13,7 @@ + # -ltermcap + + a.out : $(OBJECT) +- $(CC) -o dvdimagecmp $(OBJECT) ++ $(CC) $(LDFLAGS) -o dvdimagecmp $(OBJECT) + + # DEPENDENCIES + diff --git a/media-video/dvdimagecmp/metadata.xml b/media-video/dvdimagecmp/metadata.xml new file mode 100644 index 000000000000..edccfe5754d2 --- /dev/null +++ b/media-video/dvdimagecmp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>video</herd> +<maintainer> +<email>media-video@gentoo.org</email> +</maintainer> +</pkgmetadata> |