# Description: a cross-platform Integrated Development Environment (IDE). # URL: http://www.codeblocks.org/ # Maintainer: The Code::Blocks Team # Packager: pierre at nutyx dot org, tnut at nutyx dot org # Depends on: zip boost desktop-file-utils gamin gtk-update-icon-cache hicolor-icon-theme hunspell shared-mime-info wxgtk28 name=codeblocks version=16.01 release=1 source=(http://sourceforge.net/projects/$name/files/Sources/16.01/codeblocks_${version}.tar.gz) build () { cd $name-* export CPPFLAGS+=" -DBOOST_ERROR_CODE_HEADER_ONLY" export WX_CONFIG_PATH=/usr/bin/wx-config-2.8 ./bootstrap ./configure --prefix=/usr --with-contrib-plugins=all make make DESTDIR=$PKG install }