aboutsummaryrefslogtreecommitdiffstats
path: root/main/swig/APKBUILD
blob: 9be176bf653e45f8863360076b0f10a8090581aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=swig
pkgver=1.3.40
pkgrel=1
pkgdesc="SWIG is a compiler that makes it easy to integrate C and C++ code with scripting languages"
url="http://www.swig.org/"
license="custom"
depends="guile"
makedepends="zlib-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"

build () 
{ 
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr
	make || return 1
	make DESTDIR="$pkgdir" install
	install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
md5sums="2df766c9e03e02811b1ab4bba1c7b9cc  swig-1.3.40.tar.gz"