codeblocks: Update to SVN revision 13634 and (#23687)
add cbp2make utility
This commit is contained in:
parent
1551f86b4d
commit
f18e3ac857
@ -6,7 +6,7 @@ _realname=codeblocks
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
_basever=20.03
|
||||
_revision=13620
|
||||
_revision=13634
|
||||
pkgver=${_basever}.r${_revision}
|
||||
pkgrel=1
|
||||
pkgdesc="A free C, C++ and Fortran IDE (mingw-w64)"
|
||||
@ -60,6 +60,14 @@ build() {
|
||||
--with-contrib-plugins=all,-Valgrind
|
||||
|
||||
make
|
||||
|
||||
cp -R ${srcdir}/${_realname}/src/tools/cbp2make/ "${srcdir}"/build-${MSYSTEM}/
|
||||
cd "${srcdir}"/build-${MSYSTEM}/cbp2make
|
||||
if check_option "debug" "n"; then
|
||||
make CC=${CC} CXX=${CXX} LD=${CXX} --jobs=1 -f cbp2make.cbp.mak.unix release
|
||||
else
|
||||
make CC=${CC} CXX=${CXX} LD=${CXX} --jobs=1 -f cbp2make.cbp.mak.unix debug
|
||||
fi
|
||||
}
|
||||
|
||||
check() {
|
||||
@ -79,4 +87,12 @@ package() {
|
||||
|
||||
install -Dm644 "${srcdir}"/${_realname}/COPYING \
|
||||
"${pkgdir}"${MINGW_PREFIX}/share/licenses/${_realname}/LICENSE
|
||||
|
||||
cd "${srcdir}"/build-${MSYSTEM}/cbp2make
|
||||
mkdir -p "${pkgdir}${MINGW_PREFIX}/bin/"
|
||||
if check_option "debug" "n"; then
|
||||
cp bin/Release/cbp2make.exe "${pkgdir}${MINGW_PREFIX}/bin/"
|
||||
else
|
||||
cp bin/Debug/cbp2make.exe "${pkgdir}${MINGW_PREFIX}/bin/"
|
||||
fi
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user