1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-21 23:56:20 +00:00
Lakka-LibreELEC/packages/devel/swig/package.mk
2022-12-02 09:50:09 +00:00

46 lines
1.8 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="swig"
PKG_VERSION="4.1.1"
PKG_SHA256="2af08aced8fcd65cdb5cc62426768914bedc735b1c250325203716f78e39ac9b"
PKG_LICENSE="GPL"
PKG_SITE="http://www.swig.org"
PKG_URL="${SOURCEFORGE_SRC}/swig/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="ccache:host"
PKG_LONGDESC="SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages."
PKG_TOOLCHAIN="configure"
PKG_CONFIGURE_OPTS_HOST="--program-suffix=4.0 \
--with-pcre-prefix=${TOOLCHAIN} \
--with-boost=no \
--without-pcre \
--without-x \
--without-tcl \
--without-python \
--without-python3 \
--without-perl5 \
--without-octave \
--without-java \
--without-gcj \
--without-android \
--without-guile \
--without-mzscheme \
--without-ruby \
--without-php \
--without-ocaml \
--without-pike \
--without-chicken \
--without-csharp \
--without-lua \
--without-allegrocl \
--without-clisp \
--without-r \
--without-go \
--without-d"
post_makeinstall_host() {
ln -sf swig4.0 ${TOOLCHAIN}/bin/swig
}