summaryrefslogtreecommitdiff
path: root/user/swig
diff options
context:
space:
mode:
Diffstat (limited to 'user/swig')
-rw-r--r--user/swig/APKBUILD17
1 files changed, 7 insertions, 10 deletions
diff --git a/user/swig/APKBUILD b/user/swig/APKBUILD
index d0be1a058..91e1c5aa3 100644
--- a/user/swig/APKBUILD
+++ b/user/swig/APKBUILD
@@ -1,19 +1,18 @@
# Maintainer:
pkgname=swig
-pkgver=3.0.12
-pkgrel=3
+pkgver=4.0.1
+pkgrel=0
pkgdesc="Tool for integrating C and C++ code with other languages"
url="http://www.swig.org/"
arch="all"
-license="GPL-3.0 BSD"
-depends="guile"
-makedepends="zlib-dev pcre-dev"
-checkdepends="boost-dev perl-dev python3-dev diffutils"
+license="GPL-3.0+ AND MIT"
+depends=""
+checkdepends="boost-dev diffutils"
+makedepends="pcre-dev perl-dev python3-dev zlib-dev"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -24,15 +23,13 @@ build() {
}
check() {
- cd "$builddir"
env PERL5LIB=. PY3=YES make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -D -m644 LICENSE-UNIVERSITIES "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-UNIVERSITIES
}
-sha512sums="5eaa2e06d8e4197fd02194051db1e518325dbb074a4c55a91099ad9c55193874f577764afc9029409a41bd520a95154095f26e33ef5add5c102bb2c1d98d33eb swig-3.0.12.tar.gz"
+sha512sums="595ef01cb83adfa960ceed9c325a9429192549e8d1e9aa3ab35a4301512a61d82e2e89a8c7939c2a5a0811254ea1832a443bd387e11459eb2b0bafc563ad1308 swig-4.0.1.tar.gz"