summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2004-01-14 18:42:10 +0000
committerMartin Holzer <mholzer@gentoo.org>2004-01-14 18:42:10 +0000
commit27ced56e69245b3c5c525b82733b1a5f6a73c597 (patch)
tree786679420c8a752a2aee4839d45fadd9d866d23c /media-libs/libcaca
parentstable on hppa (diff)
downloadgentoo-2-27ced56e69245b3c5c525b82733b1a5f6a73c597.tar.gz
gentoo-2-27ced56e69245b3c5c525b82733b1a5f6a73c597.tar.bz2
gentoo-2-27ced56e69245b3c5c525b82733b1a5f6a73c597.zip
Initial ebuild
Diffstat (limited to 'media-libs/libcaca')
-rw-r--r--media-libs/libcaca/ChangeLog10
-rw-r--r--media-libs/libcaca/Manifest4
-rw-r--r--media-libs/libcaca/files/digest-libcaca-0.21
-rw-r--r--media-libs/libcaca/libcaca-0.2.ebuild38
-rw-r--r--media-libs/libcaca/metadata.xml8
5 files changed, 61 insertions, 0 deletions
diff --git a/media-libs/libcaca/ChangeLog b/media-libs/libcaca/ChangeLog
new file mode 100644
index 000000000000..3ad310d70bc2
--- /dev/null
+++ b/media-libs/libcaca/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-libs/libcaca
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/ChangeLog,v 1.1 2004/01/14 18:42:10 mholzer Exp $
+
+*libcaca-0.2 (14 Jan 2004)
+
+ 14 Jan 2004; Martin Holzer <mholzer@gentoo.org> libcaca-0.2.ebuild:
+ Initial Version submitted by Derk-Jan Hartman <thedj@users.sourceforge.net>
+ in 34965
+
diff --git a/media-libs/libcaca/Manifest b/media-libs/libcaca/Manifest
new file mode 100644
index 000000000000..96eda7186ff6
--- /dev/null
+++ b/media-libs/libcaca/Manifest
@@ -0,0 +1,4 @@
+MD5 1584d8ca209ade8b58d112830cea34d4 libcaca-0.6.ebuild 1021
+MD5 d77379d13eb41a077ea35d0cf14ad46b libcaca-0.2.ebuild 862
+MD5 49bdc2ec3e11b5066c1b7417cf6c288d files/digest-libcaca-0.2 63
+MD5 54fbed0f70bcba59512202a699cb6201 files/digest-libcaca-0.6 63
diff --git a/media-libs/libcaca/files/digest-libcaca-0.2 b/media-libs/libcaca/files/digest-libcaca-0.2
new file mode 100644
index 000000000000..51047d81861b
--- /dev/null
+++ b/media-libs/libcaca/files/digest-libcaca-0.2
@@ -0,0 +1 @@
+MD5 3b6b6d081911af38a886fe4274604354 libcaca-0.2.tar.gz 168109
diff --git a/media-libs/libcaca/libcaca-0.2.ebuild b/media-libs/libcaca/libcaca-0.2.ebuild
new file mode 100644
index 000000000000..5ab65c87d846
--- /dev/null
+++ b/media-libs/libcaca/libcaca-0.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/libcaca-0.2.ebuild,v 1.1 2004/01/14 18:42:10 mholzer Exp $
+
+IUSE="ncurses slang"
+
+DESCRIPTION="A library that creates colored ASCI-art graphics"
+HOMEPAGE="http://sam.zoy.org/projects/libcaca"
+SRC_URI="http://sam.zoy.org/projects/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+inherit gcc eutils
+
+DEPEND="
+ ncurses? ( >=sys-libs/ncurses-5.3 )
+ slang? ( >=sys-libs/slang-1.4.2 )"
+
+src_compile() {
+ myconf=""
+
+ use ncurses || myconf="${myconf} --disable-ncurses"
+ use slang && myconf="${myconf} --enable-slang"
+
+ econf ${myconf} || die "configure of libcaca failed"
+
+ sed -i -e "s:src examples doc:src examples:" Makefile
+
+ emake || die "make of libcaca failed"
+ }
+
+src_install() {
+ einstall || die "make install of libcaca failed"
+ dodoc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS NOTES \
+ README TODO
+}
diff --git a/media-libs/libcaca/metadata.xml b/media-libs/libcaca/metadata.xml
new file mode 100644
index 000000000000..1cadc2e4ec21
--- /dev/null
+++ b/media-libs/libcaca/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>