33 lines
701 B
Text
33 lines
701 B
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=swig
|
|
version=4.0.2
|
|
build=1sml
|
|
homepage="http://www.swig.org/"
|
|
download="http://prdownloads.sourceforge.net/swig/swig-$version.tar.gz"
|
|
desc="Simplified Wrapper and Interface Generator"
|
|
requires="gcc-libs pcre"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYRIGHT LICENSE* $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
afd6792d6b10b7bae6559b9070563aad957b5780017d7bfae49b5b0dd2c6f9981995bdc409dcd8ae6d245615a0af9abc286feba47af36c6d77bbc586bcc93c3a swig-4.0.2.tar.lz
|
|
"
|