diff --git a/srcpkgs/clucene-devel b/srcpkgs/clucene-devel new file mode 120000 index 0000000000..eba4520fcf --- /dev/null +++ b/srcpkgs/clucene-devel @@ -0,0 +1 @@ +clucene \ No newline at end of file diff --git a/srcpkgs/clucene/clucene-devel.template b/srcpkgs/clucene/clucene-devel.template new file mode 100644 index 0000000000..ba3b0c6bd0 --- /dev/null +++ b/srcpkgs/clucene/clucene-devel.template @@ -0,0 +1,18 @@ +# Template file for 'clucene-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libstdc++-devel +Add_dependency run clucene + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/CLucene ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/clucene/depends b/srcpkgs/clucene/depends new file mode 100644 index 0000000000..ce2e979a0e --- /dev/null +++ b/srcpkgs/clucene/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.9.21b" +api_depends="${abi_depends}" diff --git a/srcpkgs/clucene/template b/srcpkgs/clucene/template new file mode 100644 index 0000000000..e6ae1ec6c7 --- /dev/null +++ b/srcpkgs/clucene/template @@ -0,0 +1,23 @@ +# Template file for 'clucene' +pkgname=clucene +version=0.9.21b +wrksrc=${pkgname}-core-${version} +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-core-${version}.tar.bz2" +build_style=gnu_configure +short_desc="Text search engine written in C++" +maintainer="Juan RP " +checksum=202ee45af747f18642ae0a088d7c4553521714a511a1a9ec99b8144cf9928317 +long_desc=" + CLucene is a high-performance, scalable, cross platform, full-featured, + open-source indexing and searching API. Specifically, CLucene is the guts + of a search engine, the hard stuff. You write the easy stuff: the UI and + the process of selecting and parsing your data files to pump them into the + search engine yourself, and any specialized queries to pull it back for + display or further processing." + +subpackages="${pkgname}-devel" + +Add_dependency run libgcc +Add_dependency run glibc +Add_dependency run libstdc++ +Add_dependency build libstdc++-devel