improve of cmpl.
[bush.git] / tools / build-srcpkg-bak-20240503 / info / GENERAL_INFO.imi
blobe0983655b4a5f6f89bbf90f653b83b1ff6ac86a4
4 # VMAJOR/VMINOR/VPATCH,VDATE,VEXT ==> SRCPKG_VERSION_FMT ==> SRCPKG_VERSION
5 #                                                                 ==> SRCPKG_VERSION_STR_FMT ==> SRCPKG_VERSION_STR
6 # ABIV1/ABIV2 ==> SRCPKG_AVI_VERSION_FMT ==> SRCPKG_AVI_VERSION
7 # SRCPKG_NAME + SRCPKG_VERSION_STR ==> SRCPKG_FILENAME_FMT ==> SRCPKG_FILENAME
8
11 SRCPKG_VERSION_FMT=''
12 SRCPKG_VERSION_STR_FMT=''
13 SRCPKG_AVI_VERSION_FMT=''
14 SRCPKG_FILENAME_FMT=''
16 DATE_EVL='$(date +%Y-%m-%d)'
17 TIME_EVL='$(date +%H-%M-%S)'
18 TP_EVL='$(date +%s)'
20 autogen_Date ()
22         eval DATE="${DATE_EVL}"
23         echo "$DATE"
26 autogen_Time ()
28         eval TIME="${TIME_EVL}"
29         echo "$TIME"
32 autogen_Tp ()
34         eval TP="${TP_EVL}"
35         echo "$TP"
38 VERSION_STRING_FMT="${VERSION_1}.${VERSION_2}.${VERSION_3}"
39 VERSION_NAME_FMT="v${VERSION_STRING}${VERSION_SFX}-${VERSION_DATE}"
40 SRCPKG_FILENAME_FMT="${SRCPKG_NAME}-${VERSION_STRING}-${VERSION_DATE}"
43 # info about time and date and misc
44 INFO_DATE_EVL='$(date +%Y-%m-%d)'
45 INFO_TIME_EVL='$(date +%H-%M-%S)'
46 INFO_TP_EVL='$(date +%s)'
47 INFO_COPYING=""
49 info_init ()
51         eval INFO_DATE="${INFO_DATE_EVL}"
52         eval INFO_TIME="${INFO_TIME_EVL}"
53         eval INFO_TP="${INFO_TP_EVL}"