aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-02-03 06:52:59 +0000
committerTimo Teräs <timo.teras@iki.fi>2015-02-03 17:29:17 +0000
commitef2c6f1ff493008627e267aeddf803444a04f083 (patch)
tree43ae8e0d6c141a5ba4f80aa9109414ddbfee8f72 /testing
parent6f9d7114d616361782fbe16073aa7cb5a6943c58 (diff)
downloadaports-ef2c6f1ff493008627e267aeddf803444a04f083.tar.bz2
aports-ef2c6f1ff493008627e267aeddf803444a04f083.tar.xz
testing/librevenge: new aport
Base library for writing document import filters http://sourceforge.net/projects/libwpd/
Diffstat (limited to 'testing')
-rw-r--r--testing/librevenge/APKBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/testing/librevenge/APKBUILD b/testing/librevenge/APKBUILD
new file mode 100644
index 0000000000..156e94c3e5
--- /dev/null
+++ b/testing/librevenge/APKBUILD
@@ -0,0 +1,52 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=librevenge
+pkgver=0.0.2
+pkgrel=0
+pkgdesc="Base library for writing document import filters"
+url="http://sourceforge.net/projects/libwpd/"
+arch="all"
+license="MPL2"
+depends=""
+depends_dev="boost-dev zlib-dev cppunit-dev"
+makedepends="$depends_dev doxygen"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://sourceforge.net/projects/libwpd/files/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --disable-dependency-tracking \
+ --enable-fast-install \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="4ee55a80ee32af6752dd8c56eb1b1b5e librevenge-0.0.2.tar.xz"
+sha256sums="f6f280c4345546aad16aeafd5cf2e4a4ac31a81606171755465bba0d96efcf0f librevenge-0.0.2.tar.xz"
+sha512sums="28e53aefdfe8585ef148781e53379a986b5becb459a27dffe8546341e7ada6a3323bc27ab3170227a532e796869b634ad0443324af72b16835a4287a64994637 librevenge-0.0.2.tar.xz"