2015-05-28 00:12:16 +02:00
|
|
|
# Template file for 'codeblocks'
|
|
|
|
pkgname=codeblocks
|
2016-01-29 18:01:34 +01:00
|
|
|
version=16.01
|
|
|
|
revision=1
|
|
|
|
wrksrc=${pkgname}-${version}.release
|
2015-05-28 00:12:16 +02:00
|
|
|
build_style=gnu-configure
|
2016-01-29 18:01:34 +01:00
|
|
|
hostmakedepends="automake libtool pkg-config zip"
|
|
|
|
makedepends="gtk+-devel wxWidgets-devel"
|
2015-05-28 00:12:16 +02:00
|
|
|
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"
|
2016-01-29 18:01:34 +01:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}_${version}.tar.gz"
|
|
|
|
checksum=30fb9d206df4ab3c2e2fec2451a0a7c9723bfed9a673cc9be71e881c529d5a03
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
./bootstrap
|
|
|
|
}
|
2015-05-28 00:12:16 +02:00
|
|
|
|
|
|
|
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() {
|
2015-05-28 19:27:12 +02:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2015-05-28 00:12:16 +02:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/include/codeblocks
|
|
|
|
}
|
|
|
|
}
|