blob: 91e1c5aa393d3dd5513b3521f5265494f5de0339 (
plain) (
tree)
|
|
# Maintainer:
pkgname=swig
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+ 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() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--with-python3 \
--without-python
make
}
check() {
env PERL5LIB=. PY3=YES make check
}
package() {
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="595ef01cb83adfa960ceed9c325a9429192549e8d1e9aa3ab35a4301512a61d82e2e89a8c7939c2a5a0811254ea1832a443bd387e11459eb2b0bafc563ad1308 swig-4.0.1.tar.gz"
|