void-packages/srcpkgs/codeblocks/template

29 lines
860 B
Bash
Raw Normal View History

# Template file for 'codeblocks'
pkgname=codeblocks
version=13.12
revision=2
build_style=gnu-configure
hostmakedepends="zip"
makedepends="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"
2015-08-15 09:40:53 +02:00
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}_${version}-1.tar.gz"
checksum=772450046e8c8ba2ea0086acf433a46b83e6254fae64df9c8ca132a22f949610
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
}
}