template 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Template file for 'ucx'
  2. pkgname=ucx
  3. version=1.15.0
  4. revision=1
  5. build_style=gnu-configure
  6. hostmakedepends="git automake autoconf libtool pkgconf"
  7. makedepends="rdma-core-devel libnuma-devel fuse3-devel libgomp-devel"
  8. depends="numactl rdma-core"
  9. short_desc="Unified Communication X"
  10. maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
  11. license="BSD-3-Clause"
  12. homepage="http://www.openucx.org"
  13. distfiles="https://github.com/openucx/ucx/archive/refs/tags/v${version}.tar.gz"
  14. checksum=e3082101dd61b2482390e7917b390f0fe9ecf399a839d97ee025ee559e6cb12d
  15. pre_configure() {
  16. ./autogen.sh
  17. ./contrib/configure-release --prefix=/usr CFLAGS="-Wno-address-of-packed-member -O2"
  18. }
  19. post_install() {
  20. vlicense LICENSE
  21. }
  22. ucx-devel_package() {
  23. short_desc+=" - development files"
  24. depends="${sourcepkg}>=${version}_${revision}"
  25. pkg_install() {
  26. vmove usr/include
  27. vmove usr/share/ucx/examples
  28. vmove usr/lib/cmake
  29. vmove "usr/lib/*.a"
  30. vmove "usr/lib/*.so"
  31. vmove "usr/lib/ucx/*.a"
  32. vmove "usr/lib/ucx/*.so"
  33. vmove usr/lib/pkgconfig
  34. }
  35. }