summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-12-09 13:57:12 +0000
committerPeter Volkov <pva@gentoo.org>2008-12-09 13:57:12 +0000
commite797c4325219cf22bc4d90d7c5c3638898b30220 (patch)
tree0dd8b58df8c5337f3a8a4926b9513687532b7c94 /dev-libs/libmaa
parentAdd run-as-root useflag, by Marco Meier <mmeier@badeio.de>, bug #249451 (diff)
downloadgentoo-2-e797c4325219cf22bc4d90d7c5c3638898b30220.tar.gz
gentoo-2-e797c4325219cf22bc4d90d7c5c3638898b30220.tar.bz2
gentoo-2-e797c4325219cf22bc4d90d7c5c3638898b30220.zip
Initial import. Previously this library was part of <=dictd-1.10.11.
(Portage version: 2.2_rc17/cvs/Linux 2.6.26-openvz.git-89451f9 i686)
Diffstat (limited to 'dev-libs/libmaa')
-rw-r--r--dev-libs/libmaa/ChangeLog10
-rw-r--r--dev-libs/libmaa/files/libmaa-1.1.0-LDFLAGS.patch45
-rw-r--r--dev-libs/libmaa/libmaa-1.1.0.ebuild25
-rw-r--r--dev-libs/libmaa/metadata.xml15
4 files changed, 95 insertions, 0 deletions
diff --git a/dev-libs/libmaa/ChangeLog b/dev-libs/libmaa/ChangeLog
new file mode 100644
index 000000000000..d362b1a102f1
--- /dev/null
+++ b/dev-libs/libmaa/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-libs/libmaa
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmaa/ChangeLog,v 1.1 2008/12/09 13:57:12 pva Exp $
+
+*libmaa-1.1.0 (09 Dec 2008)
+
+ 09 Dec 2008; Peter Volkov <pva@gentoo.org>
+ +files/libmaa-1.1.0-LDFLAGS.patch, +metadata.xml, +libmaa-1.1.0.ebuild:
+ Initial import. Previously this library was part of <=dictd-1.10.11.
+
diff --git a/dev-libs/libmaa/files/libmaa-1.1.0-LDFLAGS.patch b/dev-libs/libmaa/files/libmaa-1.1.0-LDFLAGS.patch
new file mode 100644
index 000000000000..dd7b438122ce
--- /dev/null
+++ b/dev-libs/libmaa/files/libmaa-1.1.0-LDFLAGS.patch
@@ -0,0 +1,45 @@
+=== modified file 'Makefile.in'
+--- Makefile.in 2008-12-08 17:03:23 +0000
++++ Makefile.in 2008-12-08 17:44:21 +0000
+@@ -51,7 +51,8 @@
+
+ VERCFLAGS= -DMAA_MAJOR=$(MAA_MAJOR) -DMAA_MINOR=$(MAA_MINOR) -DMAA_TEENY=$(MAA_TEENY)
+ CFLAGS= @DEFS@ @CPPFLAGS@ @CFLAGS@ $(VERCFLAGS) -I. -I${srcdir}
+-LDFLAGS= @LDFLAGS@ @LIBS@ .libs/libmaa.a -lm
++LDFLAGS= @LDFLAGS@
++LIBS= @LIBS@ .libs/libmaa.a -lm
+
+ HEADERS= config.h maa.h maaP.h obstack.h
+ LIBOBJS= @LIBOBJS@ obstack.o xmalloc.o \
+@@ -63,7 +64,7 @@
+ primetest listtest bittest argtest sltest prtest basetest
+ EXES= memtest prtest
+
+-MAALIB= libmaa.a
++MAALIB= libmaa.la
+
+ lib: $(MAALIB)
+
+@@ -111,17 +112,17 @@
+ $(LIBTOOL) --tag=CC --mode=compile $(CC) -o $@ -c $(CFLAGS) $<
+
+ %: %.o
+- $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ $< $(LDFLAGS)
++ $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ $< $(LDFLAGS) $(LIBS)
+
+ %test: %test.c rnd.o
+- $(CC) $(CFLAGS) -o $@ $< rnd.o $(LDFLAGS)
++ $(CC) $(CFLAGS) -o $@ $< rnd.o $(LDFLAGS) $(LIBS)
+
+ dmalloc/dmalloc.h:
+ echo making all in dmalloc
+ (cd dmalloc && $(MAKE) all) || exit 1
+
+-libmaa.a: $(LIBOBJS)
+- $(LIBTOOL) --tag=CC --mode=link ${CC} -o libmaa.la ${LIBOBJS:.o=.lo} \
++libmaa.la: $(LIBOBJS)
++ $(LIBTOOL) --tag=CC --mode=link ${CC} $(LDFLAGS) -o libmaa.la ${LIBOBJS:.o=.lo} \
+ -rpath "${libdir}" \
+ -version-info 1:0
+
+
diff --git a/dev-libs/libmaa/libmaa-1.1.0.ebuild b/dev-libs/libmaa/libmaa-1.1.0.ebuild
new file mode 100644
index 000000000000..be3ec2673bed
--- /dev/null
+++ b/dev-libs/libmaa/libmaa-1.1.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmaa/libmaa-1.1.0.ebuild,v 1.1 2008/12/09 13:57:12 pva Exp $
+
+inherit eutils
+
+DESCRIPTION="Library with low-level data structures which are helpful for writing compilers"
+HOMEPAGE="http://www.dict.org/"
+SRC_URI="mirror://sourceforge/dict/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-LDFLAGS.patch"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc ChangeLog NEWS README doc/libmaa.600dpi.ps || die
+}
diff --git a/dev-libs/libmaa/metadata.xml b/dev-libs/libmaa/metadata.xml
new file mode 100644
index 000000000000..635f4f9eb097
--- /dev/null
+++ b/dev-libs/libmaa/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>app-dicts</herd>
+<longdescription lang="en">
+ The <pkg>libmaa</pkg> library provides many low-level data structures which
+ are helpful for writing compilers, including hash tables, sets, lists,
+ debugging support, and memory management. Although <pkg>libmaa</pkg> was
+ designed and implemented as a foundation for the KHEPERA Transformation
+ System, the data structures are generally applicable to a wide range of
+ programming problems. The memory management routines are especially helpful
+ for improving the performance of memory-intensive applications.
+</longdescription>
+</pkgmetadata>
+