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
commit3efff20d67361f4ad2e5269a981ed68cab6de718 (patch)
tree5ccec154d27b056159583c2db7b898e9c834cda1 /dev-libs/libmaa
parentAdd run-as-root useflag, by Marco Meier <mmeier@badeio.de>, bug #249451 (diff)
downloadhistorical-3efff20d67361f4ad2e5269a981ed68cab6de718.tar.gz
historical-3efff20d67361f4ad2e5269a981ed68cab6de718.tar.bz2
historical-3efff20d67361f4ad2e5269a981ed68cab6de718.zip
Initial import. Previously this library was part of <=dictd-1.10.11.
Package-Manager: portage-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/Manifest5
-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
5 files changed, 100 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/Manifest b/dev-libs/libmaa/Manifest
new file mode 100644
index 000000000000..30470d64817e
--- /dev/null
+++ b/dev-libs/libmaa/Manifest
@@ -0,0 +1,5 @@
+AUX libmaa-1.1.0-LDFLAGS.patch 1352 RMD160 2f4d22109a572df2e8e83286077566ae3195a7fc SHA1 111d38389fdb09c724039a4c547e99a5877c603f SHA256 bbae0d30bb43ae70aa920455fe9934d89cd803d777233c1b813eebf08ada0cf3
+DIST libmaa-1.1.0.tar.gz 278905 RMD160 979c995aa6240a08e34c01b19b95f0fa91a1b8f4 SHA1 4e1a2b52bc80b3a1085f2d5815a85be3b714f907 SHA256 4ea274c712646f4be5b99d364d55451b0abcd03e0fd392d5107477dc9a83c05d
+EBUILD libmaa-1.1.0.ebuild 658 RMD160 df2d4bde40f20d1fe029aab733b9171e21ac608e SHA1 61a15ac1d348cbf2517dfc3667a0e444a797c32b SHA256 13dad98fa739b209b58bc25d32c71d62be125ae4aa57147f392ec003c488ea77
+MISC ChangeLog 420 RMD160 a793257ecf9cd153aca835a984cce4a7b28a8b11 SHA1 f0d1c1ad91e967eaf828444120f1d4a3ddc6a95a SHA256 c591dd3648f91c705a484ffa926779e80b51b0b4be4c86ba966d731ec5f47e8a
+MISC metadata.xml 728 RMD160 e246be44b16e1ee24ee4042342a8efda18cb8de6 SHA1 3e95d4254ee29595c64ba75fe081440ff45d687b SHA256 c46f8be2906ee1a7679f8d5ba531d9026defffc4e2b345eb2785d585e1d7e0b5
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>
+