diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-02 14:20:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-02 14:20:20 +0000 |
commit | 70389a0d59c21210fa41c3968d6f25525a10022d (patch) | |
tree | c22a829756ff2dd5057feb27f952c66c2f587ecb /main/swig | |
parent | 33fa695101db3ef34d9d13fd357395e610ee3b81 (diff) | |
download | aports-70389a0d59c21210fa41c3968d6f25525a10022d.tar.bz2 aports-70389a0d59c21210fa41c3968d6f25525a10022d.tar.xz |
main/swig: upgrade to 2.0.0
Diffstat (limited to 'main/swig')
-rw-r--r-- | main/swig/APKBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/main/swig/APKBUILD b/main/swig/APKBUILD index 9be176bf65..c2ecc1f275 100644 --- a/main/swig/APKBUILD +++ b/main/swig/APKBUILD @@ -1,7 +1,7 @@ # 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" |