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.

37 lines
1.2 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../libtai/libtai.conf
# Copyright (C) 2011 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# install headers in a dedicated directory
includedir="/$prefix/include/libtai"
# no make install target
makeinstopt=
pkg_libtai_install() {
local headers="caldate.h caltime.h leapsecs.h tai.h taia.h uint64.h"
local manpages="tai.3 tai_now.3 tai_pack.3 taia.3 taia_now.3 \
taia_pack.3 caldate.3 caldate_mjd.3 caltime.3 \
caltime_tai.3 leapsecs.3"
local executables="easter yearcal nowutc"
#for x in $headers; do
# cp -vp $x $root$includedir
#done
install -m 644 $headers $root$includedir
install -m 644 $manpages $root$mandir/cat3
install -m 755 $executables $root$bindir
install -m 755 libtai.a $root$libdir
}
hook_add postmake 9 'pkg_libtai_install'