summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortv <tv>2004-11-05 18:22:29 +0000
committertv <tv>2004-11-05 18:22:29 +0000
commit4a407228657ff77e8050ab620d8673af18329d55 (patch)
treea3ab4b99d95df6e1bff53babd122da9450f8468f /devel
parentd12b8663790b12f28613a19aa1c9f1078c4cfdc3 (diff)
downloadpkgsrc-4a407228657ff77e8050ab620d8673af18329d55.tar.gz
libextractor-0.3.10, a metadata generator for arbitrary files:
libextractor is a simple library for keyword extraction. libextractor does not support all formats but supports a simple plugging mechanism such that you can quickly add extractors for additional formats, even without recompiling libextractor. libextractor typically ships with a dozen helper-libraries that can be used to obtain keywords from common file-types.
Diffstat (limited to 'devel')
-rw-r--r--devel/libextractor/DESCR6
-rw-r--r--devel/libextractor/Makefile25
-rw-r--r--devel/libextractor/PLIST44
-rw-r--r--devel/libextractor/distinfo7
-rw-r--r--devel/libextractor/patches/patch-aa14
-rw-r--r--devel/libextractor/patches/patch-ab12
-rw-r--r--devel/libextractor/patches/patch-ac13
7 files changed, 121 insertions, 0 deletions
diff --git a/devel/libextractor/DESCR b/devel/libextractor/DESCR
new file mode 100644
index 00000000000..bedd70a93ca
--- /dev/null
+++ b/devel/libextractor/DESCR
@@ -0,0 +1,6 @@
+libextractor is a simple library for keyword extraction. libextractor
+does not support all formats but supports a simple plugging mechanism
+such that you can quickly add extractors for additional formats, even
+without recompiling libextractor. libextractor typically ships with a
+dozen helper-libraries that can be used to obtain keywords from common
+file-types.
diff --git a/devel/libextractor/Makefile b/devel/libextractor/Makefile
new file mode 100644
index 00000000000..f9094e564b6
--- /dev/null
+++ b/devel/libextractor/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/05 18:22:29 tv Exp $
+#
+
+DISTNAME= libextractor-0.3.10
+CATEGORIES= devel
+MASTER_SITES= http://ovmj.org/libextractor/download/
+
+MAINTAINER= tv@duh.org
+HOMEPAGE= http://ovmj.org/libextractor/
+COMMENT= Metadata extractor for various file data types
+
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+CONFLICTS= csound-{bath,dev}-* # bin/extract
+
+# This package requires dlopen, so save on space by skipping non-PIC libs
+SHLIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+.include "../../devel/libltdl/convenience.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libextractor/PLIST b/devel/libextractor/PLIST
new file mode 100644
index 00000000000..83109331653
--- /dev/null
+++ b/devel/libextractor/PLIST
@@ -0,0 +1,44 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/05 18:22:29 tv Exp $
+bin/extract
+include/extractor.h
+lib/libextractor.la
+lib/libextractor/libextractor_asf.la
+lib/libextractor/libextractor_dvi.la
+lib/libextractor/libextractor_elf.la
+lib/libextractor/libextractor_filename.la
+lib/libextractor/libextractor_gif.la
+lib/libextractor/libextractor_hash_md5.la
+lib/libextractor/libextractor_hash_rmd160.la
+lib/libextractor/libextractor_hash_sha1.la
+lib/libextractor/libextractor_html.la
+lib/libextractor/libextractor_id3v2.la
+lib/libextractor/libextractor_id3v23.la
+lib/libextractor/libextractor_id3v24.la
+lib/libextractor/libextractor_jpeg.la
+lib/libextractor/libextractor_lower.la
+lib/libextractor/libextractor_man.la
+lib/libextractor/libextractor_mime.la
+lib/libextractor/libextractor_mp3.la
+lib/libextractor/libextractor_mpeg.la
+lib/libextractor/libextractor_oo.la
+lib/libextractor/libextractor_pdf.la
+lib/libextractor/libextractor_png.la
+lib/libextractor/libextractor_printable_da.la
+lib/libextractor/libextractor_printable_de.la
+lib/libextractor/libextractor_printable_en.la
+lib/libextractor/libextractor_printable_es.la
+lib/libextractor/libextractor_printable_it.la
+lib/libextractor/libextractor_printable_no.la
+lib/libextractor/libextractor_ps.la
+lib/libextractor/libextractor_qt.la
+lib/libextractor/libextractor_real.la
+lib/libextractor/libextractor_riff.la
+lib/libextractor/libextractor_rpm.la
+lib/libextractor/libextractor_split.la
+lib/libextractor/libextractor_tar.la
+lib/libextractor/libextractor_tiff.la
+lib/libextractor/libextractor_wav.la
+lib/libextractor/libextractor_zip.la
+man/man1/extract.1
+man/man3/libextractor.3
+@dirrm lib/libextractor
diff --git a/devel/libextractor/distinfo b/devel/libextractor/distinfo
new file mode 100644
index 00000000000..ed309f3a586
--- /dev/null
+++ b/devel/libextractor/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/05 18:22:29 tv Exp $
+
+SHA1 (libextractor-0.3.10.tar.gz) = 79f1819f7771341df435f51050aa841cb5d3e657
+Size (libextractor-0.3.10.tar.gz) = 5764727 bytes
+SHA1 (patch-aa) = e3c770fd3a0cc918cf1f05f79cb1a148dd928533
+SHA1 (patch-ab) = 3d8cf383a9edf340b6289cb2b4fa98e3029efdef
+SHA1 (patch-ac) = ddc548f3252f4ddb13df5777518092721f03f594
diff --git a/devel/libextractor/patches/patch-aa b/devel/libextractor/patches/patch-aa
new file mode 100644
index 00000000000..1430b9a6da3
--- /dev/null
+++ b/devel/libextractor/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/11/05 18:22:29 tv Exp $
+
+--- src/plugins/oo/ioapi.h.orig 2004-11-05 12:45:15.000000000 -0500
++++ src/plugins/oo/ioapi.h
+@@ -9,6 +9,9 @@
+ #ifndef _ZLIBIOAPI_H
+ #define _ZLIBIOAPI_H
+
++#ifndef OF
++#define OF(x) x
++#endif
+
+ #define ZLIB_FILEFUNC_SEEK_CUR (1)
+ #define ZLIB_FILEFUNC_SEEK_END (2)
diff --git a/devel/libextractor/patches/patch-ab b/devel/libextractor/patches/patch-ab
new file mode 100644
index 00000000000..b13c123f06f
--- /dev/null
+++ b/devel/libextractor/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/11/05 18:22:29 tv Exp $
+
+--- src/main/extractor.c.orig 2004-11-05 13:00:50.000000000 -0500
++++ src/main/extractor.c
+@@ -152,7 +152,6 @@ libextractor_id3v24:\
+ libextractor_mime:\
+ libextractor_tar:\
+ libextractor_dvi:\
+-libextractor_deb:\
+ libextractor_png:\
+ libextractor_gif:\
+ libextractor_wav:\
diff --git a/devel/libextractor/patches/patch-ac b/devel/libextractor/patches/patch-ac
new file mode 100644
index 00000000000..4eabe88f99c
--- /dev/null
+++ b/devel/libextractor/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/11/05 18:22:29 tv Exp $
+
+--- src/plugins/Makefile.in.orig 2004-10-23 14:35:51.000000000 -0400
++++ src/plugins/Makefile.in
+@@ -290,7 +290,7 @@ LIBINTL = @LIBINTL@
+ LIBLTDL = @LIBLTDL@
+ LIBOBJS = @LIBOBJS@
+ LIBS = @LIBS@
+-LIBTOOL = @LIBTOOL@
++LIBTOOL = shlibtool
+ LN_S = @LN_S@
+ LTDLINCL = @LTDLINCL@
+ LTLIBICONV = @LTLIBICONV@