void-packages/srcpkgs/codeblocks/template

34 lines
968 B
Bash

# Template file for 'codeblocks'
pkgname=codeblocks
version=16.01
revision=1
wrksrc=${pkgname}-${version}.release
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config zip"
makedepends="gtk+-devel wxWidgets-devel"
configure_args="--with-wx-config=wx-config-3.0"
short_desc="Free C, C++ and Fortran IDE"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3"
homepage="http://www.codeblocks.org"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}_${version}.tar.gz"
checksum=30fb9d206df4ab3c2e2fec2451a0a7c9723bfed9a673cc9be71e881c529d5a03
pre_configure() {
./bootstrap
}
post_install() {
vinstall debian/codeblocks.sharedmime 644 /usr/share/mime/packages codeblocks.xml
vinstall src/mime/codeblocks.desktop 644 /usr/share/applications
}
codeblocks-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/include/codeblocks
}
}