aboutsummaryrefslogtreecommitdiffstats
path: root/main/librevenge
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-10 14:40:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-10 14:59:56 +0000
commitda0978129a5248b59a58a0b0586d9af41d73f76e (patch)
treeb12221b7aa0e8af0421d09a3a14b7867d3dec61b /main/librevenge
parentad430d76478f39f3719da4a0b9c4edf0910de8d5 (diff)
downloadaports-da0978129a5248b59a58a0b0586d9af41d73f76e.tar.bz2
aports-da0978129a5248b59a58a0b0586d9af41d73f76e.tar.xz
main/librevenge: moved to main
Diffstat (limited to 'main/librevenge')
-rw-r--r--main/librevenge/APKBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/main/librevenge/APKBUILD b/main/librevenge/APKBUILD
new file mode 100644
index 0000000000..156e94c3e5
--- /dev/null
+++ b/main/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"