From d228ed875942070322d4fd357dc4208c9008c129 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Fri, 3 Oct 2014 01:24:18 +0200 Subject: [PATCH] New package: libwps-0.3.0 --- common/shlibs | 1 + srcpkgs/libwps-devel | 1 + srcpkgs/libwps-tools | 1 + srcpkgs/libwps/template | 30 ++++++++++++++++++++++++++++++ 4 files changed, 33 insertions(+) create mode 120000 srcpkgs/libwps-devel create mode 120000 srcpkgs/libwps-tools create mode 100644 srcpkgs/libwps/template diff --git a/common/shlibs b/common/shlibs index 7abda4ceaf7..36ecabee8bf 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1772,3 +1772,4 @@ libcdr-0.1.so.1 libcdr-0.1.0_1 libmspub-0.1.so.1 libmspub-0.1.1_1 libvisio-0.1.so.1 libvisio-0.1.0_1 libwpd-0.10.so.10 libwpd-0.10.0_1 +libwps-0.3.so.3 libwps-0.3.0_1 diff --git a/srcpkgs/libwps-devel b/srcpkgs/libwps-devel new file mode 120000 index 00000000000..a0506412330 --- /dev/null +++ b/srcpkgs/libwps-devel @@ -0,0 +1 @@ +libwps \ No newline at end of file diff --git a/srcpkgs/libwps-tools b/srcpkgs/libwps-tools new file mode 120000 index 00000000000..a0506412330 --- /dev/null +++ b/srcpkgs/libwps-tools @@ -0,0 +1 @@ +libwps \ No newline at end of file diff --git a/srcpkgs/libwps/template b/srcpkgs/libwps/template new file mode 100644 index 00000000000..31b9ed59d37 --- /dev/null +++ b/srcpkgs/libwps/template @@ -0,0 +1,30 @@ +# Template file for 'libwps' +pkgname=libwps +version=0.3.0 +revision=1 +build_style=gnu-configure +short_desc="Library for importing Microsoft Works documents" +maintainer="Enno Boland " +license="MPL/LGPL" +makedepends="boost-devel librevenge-devel" +hostmakedepends="pkg-config" +homepage="http://libwps.sourceforge.net/" +distfiles="${SOURCEFORGE_SITE}/libwps/libwps-${version}.tar.xz" +checksum=e341d340b16b33f1b1fb66612311b3bdf664c103ebd48beb8db87b434333bef3 + +libwps-devel_package() { + depends="libwps>=${version}_${revision} $makedepends" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +} + +libwps-tools_package() { + short_desc+=" - tools" + pkg_install() { + vmove usr/bin + } +}