diff options
Diffstat (limited to 'media-video/pgmfindclip')
-rw-r--r-- | media-video/pgmfindclip/Manifest | 1 | ||||
-rw-r--r-- | media-video/pgmfindclip/metadata.xml | 8 | ||||
-rw-r--r-- | media-video/pgmfindclip/pgmfindclip-1.13.ebuild | 31 |
3 files changed, 40 insertions, 0 deletions
diff --git a/media-video/pgmfindclip/Manifest b/media-video/pgmfindclip/Manifest new file mode 100644 index 000000000000..fff0a2ed7232 --- /dev/null +++ b/media-video/pgmfindclip/Manifest @@ -0,0 +1 @@ +DIST pgmfindclip-1.13.tgz 4971 RMD160 15cd9365a2af33ed1cfdcacdc7e31505ad70f9c9 SHA1 ef7d91d48b52d9fe011a577e099eeb8a2f997a9f SHA256 eaa0f3d4e4904b14fba45ca45b06511839331c37c3c08463c633f4d3f12dbdf2 diff --git a/media-video/pgmfindclip/metadata.xml b/media-video/pgmfindclip/metadata.xml new file mode 100644 index 000000000000..edccfe5754d2 --- /dev/null +++ b/media-video/pgmfindclip/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> diff --git a/media-video/pgmfindclip/pgmfindclip-1.13.ebuild b/media-video/pgmfindclip/pgmfindclip-1.13.ebuild new file mode 100644 index 000000000000..84f03032f1e9 --- /dev/null +++ b/media-video/pgmfindclip/pgmfindclip-1.13.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit toolchain-funcs + +IUSE="" + +S="${WORKDIR}" + +DESCRIPTION="automatically find a clipping border for a sequence of pgm images" +HOMEPAGE="http://www.lallafa.de/bp/pgmfindclip.html" +SRC_URI="http://www.lallafa.de/bp/files/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +src_unpack() { + unpack ${A} + + sed -i -e 's:gcc .* -o:$(CC) $(CFLAGS) $(LDFLAGS) -o:' "${S}"/Makefile +} + +src_compile () { + emake CC="$(tc-getCC)" || die +} + +src_install () { + dobin ${PN} || die +} |