diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-12-17 13:25:09 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-12-17 13:25:09 +0100 |
commit | 1ea37dccd090ad3d9a59f6f9828656c0ccb68c22 (patch) | |
tree | 90a9cc18ccecfe6e028cd7dbcae5cae4d1ba7f59 /media-gfx | |
parent | x11-misc/sent: Add live ebuild. (diff) | |
download | gentoo-1ea37dccd090ad3d9a59f6f9828656c0ccb68c22.tar.gz gentoo-1ea37dccd090ad3d9a59f6f9828656c0ccb68c22.tar.bz2 gentoo-1ea37dccd090ad3d9a59f6f9828656c0ccb68c22.zip |
media-gfx/farbfeld: Initial commit thanks to Markus Teich.
Package-Manager: portage-2.2.26
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/farbfeld/farbfeld-9999.ebuild | 40 | ||||
-rw-r--r-- | media-gfx/farbfeld/metadata.xml | 8 |
2 files changed, 48 insertions, 0 deletions
diff --git a/media-gfx/farbfeld/farbfeld-9999.ebuild b/media-gfx/farbfeld/farbfeld-9999.ebuild new file mode 100644 index 000000000000..d619ceb869df --- /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 000000000000..ef0483f9ff68 --- /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>jer@gentoo.org</email> +<name>Jeroen Roovers</name> +</maintainer> +</pkgmetadata> |