From e3fa9cc047c77242d7e31ae111670cf0e49ea94f Mon Sep 17 00:00:00 2001 From: davehome Date: Wed, 26 Oct 2011 12:22:47 +0000 Subject: [PATCH] New package: wv-1.2.4 - Microsoft Word file support (for Abiword) --- srcpkgs/wv/libwv.template | 18 +++++++++++++ srcpkgs/wv/template | 32 ++++++++++++++++++++++++ srcpkgs/wv/wv-devel.template | 17 +++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 4 files changed, 68 insertions(+) create mode 100644 srcpkgs/wv/libwv.template create mode 100644 srcpkgs/wv/template create mode 100644 srcpkgs/wv/wv-devel.template diff --git a/srcpkgs/wv/libwv.template b/srcpkgs/wv/libwv.template new file mode 100644 index 00000000000..2263adcf507 --- /dev/null +++ b/srcpkgs/wv/libwv.template @@ -0,0 +1,18 @@ +# Template file for 'libwv'. +# +short_desc="${short_desc} - Runtime library" +long_desc="${long_desc} + + This package contains the runtime." + +Add_dependency run glibc +Add_dependency run libgsf +Add_dependency run glib +Add_dependency run libxml2 +Add_dependency run libpng +Add_dependency run zlib + +do_install() +{ + vmove "usr/lib/*.so*" usr/lib +} diff --git a/srcpkgs/wv/template b/srcpkgs/wv/template new file mode 100644 index 00000000000..60aba1353ad --- /dev/null +++ b/srcpkgs/wv/template @@ -0,0 +1,32 @@ +# Template file for 'wv' +pkgname=wv +version=1.2.4 +distfiles="${SOURCEFORGE_SITE}/${pkgname}ware/${pkgname}-$version.tar.gz" +build_style=gnu-configure +short_desc="wv is a library which allows access to Microsoft Word files." +homepage="http://wvware.sourceforge.net/" +license="GPL-3" +maintainer="davehome " +checksum=673109910e22d4cf94cc8be4dcb9a0c41b5fbdb1736d4b7bdc7778894d57c2d6 +long_desc=" + wv is a library which allows access to Microsoft Word files. It can load and + parse Word 2000, 97, 95 and 6 file formats. (These are the file formats + known internally as Word 9, 8, 7 and 6.) There is some support for reading + earlier formats as well: Word 2 docs are converted to plaintext." + +subpackages="lib$pkgname $pkgname-devel" + +Add_dependency run glibc +Add_dependency run libgsf +Add_dependency run glib +Add_dependency run libxml2 +Add_dependency run libpng +Add_dependency run zlib +Add_dependency run libwv + +Add_dependency build libgsf-devel +Add_dependency build glib-devel +Add_dependency build libxml2-devel +Add_dependency build libpng-devel +Add_dependency build zlib-devel +Add_dependency build pkg-config diff --git a/srcpkgs/wv/wv-devel.template b/srcpkgs/wv/wv-devel.template new file mode 100644 index 00000000000..9cee708bebd --- /dev/null +++ b/srcpkgs/wv/wv-devel.template @@ -0,0 +1,17 @@ +# Template file for 'wv-devel'. +# +short_desc="${short_desc} - Development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glibc-devel +Add_dependency run libwv + +do_install() +{ + vmove usr/include usr + vmove "usr/lib/*.a" usr/lib + vmove usr/lib/pkgconfig usr/lib +} + diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 55b4b457396..66c97c4244a 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -920,3 +920,4 @@ libsord-0.so.0 libsord sord-devel libgiggle.so.0 libgiggle giggle-devel libgiggle-git.so.0 libgiggle giggle-devel libwine.so.1 libwine wine-devel +libwv-1.2.so.3 libwv wv-devel