From e476455ba4fd3d8423dd810fad3c52ec98b3f610 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 26 Sep 2012 03:34:20 +0200 Subject: [PATCH] New package: xapian-core-1.2.12. --- common/shlibs | 1 + srcpkgs/libxapian | 1 + srcpkgs/xapian-core-devel | 1 + srcpkgs/xapian-core/libxapian.rshlibs | 6 ++++++ srcpkgs/xapian-core/libxapian.template | 10 ++++++++++ srcpkgs/xapian-core/template | 20 +++++++++++++++++++ .../xapian-core/xapian-core-devel.template | 18 +++++++++++++++++ srcpkgs/xapian-core/xapian-core.rshlibs | 5 +++++ 8 files changed, 62 insertions(+) create mode 120000 srcpkgs/libxapian create mode 120000 srcpkgs/xapian-core-devel create mode 100644 srcpkgs/xapian-core/libxapian.rshlibs create mode 100644 srcpkgs/xapian-core/libxapian.template create mode 100644 srcpkgs/xapian-core/template create mode 100644 srcpkgs/xapian-core/xapian-core-devel.template create mode 100644 srcpkgs/xapian-core/xapian-core.rshlibs diff --git a/common/shlibs b/common/shlibs index d2dc361ea6..a985b6fc03 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 0000000000..9b65550a8d --- /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 0000000000..9b65550a8d --- /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 0000000000..d1dc267034 --- /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 0000000000..69b30d2464 --- /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 0000000000..ee83732746 --- /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 0000000000..f3c1781238 --- /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 0000000000..10ca9032d0 --- /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