void-packages/srcpkgs/codelite/template
2018-09-16 09:58:36 +02:00

27 lines
829 B
Bash

# Template file for 'codelite'
pkgname=codelite
version=12.0
revision=7
build_style=cmake
configure_args="-DENABLE_CLANG=1 -DENABLE_LLDB=1 -DWITH_MYSQL=1"
hostmakedepends="pkg-config clang"
makedepends="wxWidgets-gtk3-devel libmariadbclient-devel sqlite-devel
libssh-devel gtk+3-devel"
short_desc="Open-source, cross platform IDE for the C/C++ programming languages"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2.0-or-later"
homepage="http://www.codelite.org"
distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz"
checksum=e8912e3e0aea8890b5c65631ad94d58ddc587812c7ac6ec398e37aaa4b7005b4
only_for_archs="i686 x86_64"
pre_configure() {
sed -i -e 's,wx-config,&-gtk3,g' \
-e "1i\SET(wxWidgets_CONFIG_EXECUTABLE wx-config-gtk3)" \
CMakeLists.txt
}
post_install() {
vlicense LICENSE
}