Commit 70389a0d authored by Natanael Copa's avatar Natanael Copa

main/swig: upgrade to 2.0.0

parent 33fa6951
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=swig
pkgver=1.3.40
pkgrel=1
pkgver=2.0.0
pkgrel=0
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"
......@@ -9,12 +9,15 @@ depends="guile"
makedepends="zlib-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
build ()
{
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
md5sums="2df766c9e03e02811b1ab4bba1c7b9cc swig-1.3.40.tar.gz"
md5sums="36ee2d9974be46a9f0a36460af928eb9 swig-2.0.0.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment