Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions srcpkgs/gprbuild/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Template file for 'gprbuild'
pkgname=gprbuild
version=25.0.0
revision=1
depends="gcc-ada"
short_desc="Advanced build system designed to construct multi-language systems"
maintainer="QuetzalBSD <zenitds@proton.me>"
license="GPL-3.0-or-later"
homepage="https://github.com/AdaCore/gprbuild"

adacore_github="https://github.com/AdaCore"
distfiles="${adacore_github}/gprbuild/archive/refs/tags/v${version}.tar.gz>gprbuild-${version}.tar.gz
${adacore_github}/xmlada/archive/refs/tags/v${version}.tar.gz>xmlada-${version}.tar.gz
${adacore_github}/gprconfig_kb/archive/refs/tags/v${version}.tar.gz>gprconfig_kb-${version}.tar.gz"

checksum="d12f94c1ec0b6e219f6b162f71f57129d22426e7798092f5f85b9ec2cc818bf1
dbb5984a0931311c7a787a679ef4cfaeeedd357474a585dc170140ef2251dcca
802e6d38a3b110897924a9c16e143cb86360f2dde94bb5b9144c7c391e37b121"

do_build() {
cd gprbuild-${version}
./bootstrap.sh \
--with-xmlada=../xmlada-${version} \
--with-kb=../gprconfig_kb-${version} \
--build
cd ..
}

do_install() {
cd gprbuild-${version}
./bootstrap.sh --prefix=${DESTDIR}/usr/ \
--with-xmlada=../xmlada-${version} \
--with-kb=../gprconfig_kb-${version} \
--install
cd ..
}