template 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Template file for 'cgmanager'
  2. pkgname=cgmanager
  3. version=0.42
  4. revision=1
  5. build_style=gnu-configure
  6. configure_args="--with-distro=void --with-pamdir=/usr/lib/security"
  7. hostmakedepends="automake libtool pkgconf"
  8. makedepends="pam-devel dbus-devel libnih-devel popt-devel"
  9. depends="dbus"
  10. short_desc="Daemon for managing Linux control groups"
  11. maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
  12. license="GPL-2.0-only"
  13. homepage="https://linuxcontainers.org/cgmanager/introduction/"
  14. distfiles="https://linuxcontainers.org/downloads/cgmanager/cgmanager-${version}.tar.gz"
  15. checksum=ecc0a1f2ccc0ad3b2eb1807da861d9fafd4a8ad9283b15830f6c67992002d796
  16. pre_configure() {
  17. autoreconf -fi
  18. }
  19. post_install() {
  20. vsv cgmanager
  21. }
  22. libcgmanager_package() {
  23. short_desc+=" - runtime library"
  24. pkg_install() {
  25. vmove "usr/lib/*.so.*"
  26. }
  27. }
  28. libcgmanager-devel_package() {
  29. short_desc+=" - development files"
  30. depends="${makedepends} lib${sourcepkg}-${version}_${revision}"
  31. pkg_install() {
  32. vmove usr/include
  33. vmove "usr/lib/*.a"
  34. vmove "usr/lib/*.so"
  35. vmove usr/lib/pkgconfig
  36. }
  37. }