commit: 1ea37dccd090ad3d9a59f6f9828656c0ccb68c22 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Thu Dec 17 12:25:09 2015 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Thu Dec 17 12:25:09 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ea37dcc
media-gfx/farbfeld: Initial commit thanks to Markus Teich. Package-Manager: portage-2.2.26 media-gfx/farbfeld/farbfeld-9999.ebuild | 40 +++++++++++++++++++++++++++++++++ media-gfx/farbfeld/metadata.xml | 8 +++++++ 2 files changed, 48 insertions(+) diff --git a/media-gfx/farbfeld/farbfeld-9999.ebuild b/media-gfx/farbfeld/farbfeld-9999.ebuild new file mode 100644 index 0000000..d619ceb --- /dev/null +++ b/media-gfx/farbfeld/farbfeld-9999.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit git-r3 toolchain-funcs + +DESCRIPTION="farbfeld simple image format tools" +HOMEPAGE="http://git.2f30.org/farbfeld/about/" +EGIT_REPO_URI="git://git.suckless.org/farbfeld" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="" + +RDEPEND=" + media-libs/libjpeg-turbo + media-libs/libpng:* +" +DEPEND=" + ${RDEPEND} +" + +src_prepare() { + sed config.mk \ + -e '/^CC/d' \ + -e 's|/usr/local|/usr|g' \ + -e 's|^CFLAGS.*|CFLAGS += -std=c99 -pedantic -Wall -Wextra $(INCS) $(CPPFLAGS)|g' \ + -e 's|^LDFLAGS.*|LDFLAGS += $(LIBS)|g' \ + -e 's|{|(|g;s|}|)|g' \ + -i || die + + sed Makefile \ + -e 's|{|(|g;s|}|)|g' \ + -e 's|^ @| |g' \ + -i || die +} + +src_compile() { + emake CC=$(tc-getCC) +} diff --git a/media-gfx/farbfeld/metadata.xml b/media-gfx/farbfeld/metadata.xml new file mode 100644 index 0000000..ef0483f --- /dev/null +++ b/media-gfx/farbfeld/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>j...@gentoo.org</email> +<name>Jeroen Roovers</name> +</maintainer> +</pkgmetadata>