# Template file for 'cbp2make'
pkgname=cbp2make
version=147
revision=1
wrksrc="$pkgname-stl-rev${version}-all"
hostmakedepends="doxygen p7zip"
short_desc="Makefile generation tool for Code::Blocks IDE"
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
license="GPL-3"
homepage="http://sourceforge.net/projects/cbp2make/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/cbp2make-stl-rev${version}-all.tar.7z"
checksum=1b211abb8de00dc3048fccad6ebd076ab03dcb9f672cdff379de33a1346ed129

do_build() {
	cp -f cbp2make.cbp.mak.unix Makefile
	make release CC=$CC CXX=$CXX LD=$CXX CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS"
}
do_install() {
	vbin bin/Release/cbp2make
}
