void-packages/srcpkgs/cbp2make/template

21 lines
684 B
Bash

# Template file for 'cbp2make'
pkgname=cbp2make
version=147
revision=2
wrksrc="$pkgname-stl-rev${version}-all"
hostmakedepends="doxygen p7zip"
short_desc="Makefile generation tool for Code::Blocks IDE"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="GPL-3.0-or-later"
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
}