summaryrefslogtreecommitdiffstats
path: root/main/wv
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-11-30 12:04:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-03 14:39:32 +0000
commitd9cc1f1201393241f51bde86d7835280055774bd (patch)
tree2d3e56551d69ed78568b5b06899296ea4c8e98df /main/wv
parent82bab6de80918c28435cf5071a0bbd22fa26b05e (diff)
downloadaports-d9cc1f1201393241f51bde86d7835280055774bd.tar.bz2
aports-d9cc1f1201393241f51bde86d7835280055774bd.tar.xz
main/wv: specify license
Diffstat (limited to 'main/wv')
-rw-r--r--main/wv/APKBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/main/wv/APKBUILD b/main/wv/APKBUILD
index c677edfeb..8095cda20 100644
--- a/main/wv/APKBUILD
+++ b/main/wv/APKBUILD
@@ -1,24 +1,25 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wv
pkgver=1.2.9
-pkgrel=2
-pkgdesc="MSWord library can load and parse Word 2000, 97, 95 and 6 file formats"
+pkgrel=3
+pkgdesc="A library that can load and parse Word 2000, 97, 95 and 6 file formats"
url="http://sourceforge.net/projects/wvware"
arch="all"
-license="GPL"
+license="GPL2+"
subpackages="$pkgname-dev $pkgname-doc"
-depends=
+depends=""
makedepends="libgsf-dev libpng-dev bzip2-dev coreutils"
source="http://www.abisource.com/downloads/wv/$pkgver/wv-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
update_config_sub || return 1
# patch -p1 -i "$srcdir"/fix-soname.patch
}
-build () {
- cd "$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -29,8 +30,9 @@ build () {
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
+
md5sums="dbccf2e9f747e50c913b7e3d126b73f7 wv-1.2.9.tar.gz"