summaryrefslogtreecommitdiffstats
path: root/swig/Pkgfile
blob: f6cb7d80a18c71ef76f4a6cc741a89eba499ee26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Description: A compiler that makes it easy to integrate C and C++ code with scripting languages
# URL:http://www.swig.org/
# Maintainer: NuTyX core team
# Packager: lesibel at free dot fr
# Depends on: 

name=swig
version=2.0.6
release=1
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz)

build() {
	cd $name-$version
	PYTHON=/usr/bin/python2 ./configure --prefix=/usr
	make
	make DESTDIR=$PKG install
	install -D -m644 LICENSE $PKG/usr/share/licenses/$name/LICENSE
}