OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../libtai/libtai.conf
  5. # Copyright (C) 2011 - 2012 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This program is free software; you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation; version 2 of the License. A copy of the
  12. # GNU General Public License can be found in the file COPYING.
  13. # --- SDE-COPYRIGHT-NOTE-END ---
  14. # install headers in a dedicated directory
  15. includedir="/$prefix/include/libtai"
  16. # no make install target
  17. makeinstopt=
  18. pkg_libtai_install() {
  19. local headers="caldate.h caltime.h leapsecs.h tai.h taia.h uint64.h"
  20. local manpages="tai.3 tai_now.3 tai_pack.3 taia.3 taia_now.3 \
  21. taia_pack.3 caldate.3 caldate_mjd.3 caltime.3 \
  22. caltime_tai.3 leapsecs.3"
  23. local executables="easter yearcal nowutc"
  24. #for x in $headers; do
  25. # cp -vp $x $root$includedir
  26. #done
  27. install -m 644 $headers $root$includedir
  28. install -m 644 $manpages $root$mandir/man3
  29. install -m 755 $executables $root$bindir
  30. install -m 755 libtai.a $root$libdir
  31. }
  32. hook_add postmake 9 'pkg_libtai_install'