Skip to content

Commit

Permalink
New package: gprbuild-25.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tevo45 committed Dec 22, 2024
1 parent dbb5e6c commit 27f99ec
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
1 change: 1 addition & 0 deletions common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -4550,3 +4550,4 @@ libxmlada_dom.so.18.0w xmlada-25.0.0_1
libxmlada_sax.so.18.0w xmlada-25.0.0_1
libxmlada_unicode.so.18.0w xmlada-25.0.0_1
libxmlada_input_sources.so.18.0w xmlada-25.0.0_1
libgnatprj.so libgpr-25.0.0_1
49 changes: 49 additions & 0 deletions srcpkgs/gprbuild/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Template file for 'gprbuild'
pkgname=gprbuild
version=25.0.0
revision=1
build_style=gnu-configure
short_desc="Advanced build system for multi-language programs"
maintainer="Estevan Castilho <[email protected]>"
license=GPL-3.0-or-later
homepage="https://github.com/AdaCore/gprbuild"
distfiles="https://github.com/AdaCore/gprbuild/archive/refs/tags/v${version}.tar.gz"
checksum="d12f94c1ec0b6e219f6b162f71f57129d22426e7798092f5f85b9ec2cc818bf1"

hostmakedepends="gcc-ada gprbuild-bootstrap which"
makedepends="xmlada-devel"
depends="gprconfig_kb"

subpackages="libgpr libgpr-devel"

make_build_target="all libgpr.build"
make_install_target="install libgpr.install"

do_configure() {
make prefix="$DESTDIR/usr" setup
}

libgpr_package() {
license+=" WITH GCC-exception-3.1"
short_desc+=" - library"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
cd "$DESTDIR"
# vmove isn't the biggest fan of globs on parent directories
for file in usr/lib/gpr/*/*/*.so*; do
vmove "$file"
done
}
}

libgpr-devel_package() {
license+=" WITH GCC-exception-3.1"
short_desc+=" - library - development files"
depends="libgpr>=${version}_${revision}"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/lib/gpr
vmove usr/share/gpr
vmove usr/include
}
}
1 change: 1 addition & 0 deletions srcpkgs/libgpr
1 change: 1 addition & 0 deletions srcpkgs/libgpr-devel

0 comments on commit 27f99ec

Please sign in to comment.