diff --git a/common/shlibs b/common/shlibs index d2dc361ea68..a985b6fc03a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1046,3 +1046,4 @@ libgnomekbd.so.8 libgnomekbd-3.6.0_1 libgnomekbdui.so.8 libgnomekbd-3.6.0_1 libibus-1.0.so.5 ibus-1.4.99.20120917_1 libgnome-bluetooth.so.11 gnome-bluetooth-3.6.0_1 +libxapian.so.22 libxapian-1.2.12_1 diff --git a/srcpkgs/libxapian b/srcpkgs/libxapian new file mode 120000 index 00000000000..9b65550a8d9 --- /dev/null +++ b/srcpkgs/libxapian @@ -0,0 +1 @@ +xapian-core \ No newline at end of file diff --git a/srcpkgs/xapian-core-devel b/srcpkgs/xapian-core-devel new file mode 120000 index 00000000000..9b65550a8d9 --- /dev/null +++ b/srcpkgs/xapian-core-devel @@ -0,0 +1 @@ +xapian-core \ No newline at end of file diff --git a/srcpkgs/xapian-core/libxapian.rshlibs b/srcpkgs/xapian-core/libxapian.rshlibs new file mode 100644 index 00000000000..d1dc2670341 --- /dev/null +++ b/srcpkgs/xapian-core/libxapian.rshlibs @@ -0,0 +1,6 @@ +libz.so.1 +libuuid.so.1 +libstdc++.so.6 +libm.so.6 +libc.so.6 +libgcc_s.so.1 diff --git a/srcpkgs/xapian-core/libxapian.template b/srcpkgs/xapian-core/libxapian.template new file mode 100644 index 00000000000..69b30d24645 --- /dev/null +++ b/srcpkgs/xapian-core/libxapian.template @@ -0,0 +1,10 @@ +# Template file for 'libxapian'. +# +short_desc="${short_desc} -- runtime library" +long_desc="${long_desc} + + This package contains the runtime libraries." + +do_install() { + vmove "usr/lib/*.so*" usr/lib +} diff --git a/srcpkgs/xapian-core/template b/srcpkgs/xapian-core/template new file mode 100644 index 00000000000..ee83732746c --- /dev/null +++ b/srcpkgs/xapian-core/template @@ -0,0 +1,20 @@ +# Template file for 'xapian-core' +pkgname=xapian-core +version=1.2.12 +revision=1 +build_style=gnu-configure +configure_args="--disable-static" +subpackages="${pkgname}-devel libxapian" +short_desc="Open source search engine" +maintainer="Juan RP " +homepage="http://www.xapian.org/" +license="GPL-2" +distfiles="http://oligarchy.co.uk/xapian/${version}/${pkgname}-${version}.tar.gz" +checksum=d5d34dd11df4cc44380e68b3737d1413fb4706115c4bdd63ef5e30afbc1c86df +long_desc=" + Xapian is an Open Source Search Engine Library, released under the GPL. It's + written in C++, with bindings to allow use from Perl, Python, PHP, Java, Tcl, + C#, Ruby and Lua (so far!)." + +# xapian-config needs the .la +keep_libtool_archives=yes diff --git a/srcpkgs/xapian-core/xapian-core-devel.template b/srcpkgs/xapian-core/xapian-core-devel.template new file mode 100644 index 00000000000..f3c17812381 --- /dev/null +++ b/srcpkgs/xapian-core/xapian-core-devel.template @@ -0,0 +1,18 @@ +# Template file for 'xapian-core-devel'. +# +noarch=yes +depends="libxapian>=${version}" +short_desc="${short_desc} -- development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +do_install() { + vmove usr/include usr + vmove usr/share/doc usr/share + vmove usr/share/aclocal usr/share + vmove usr/lib/cmake usr/lib + vmove "usr/lib/*.la" usr/lib + vmove usr/bin/xapian-config usr/bin + vmove usr/share/man/man1/xapian-config.1 usr/share/man/man1 +} diff --git a/srcpkgs/xapian-core/xapian-core.rshlibs b/srcpkgs/xapian-core/xapian-core.rshlibs new file mode 100644 index 00000000000..10ca9032d07 --- /dev/null +++ b/srcpkgs/xapian-core/xapian-core.rshlibs @@ -0,0 +1,5 @@ +libxapian.so.22 +libstdc++.so.6 +libgcc_s.so.1 +libc.so.6 +libm.so.6