6 SRCPKG_NAME="$(ui_GetStr SRCPKG_NAME)"
10 #SRCPKG_VERSION="$(ui_GetStr SRCPKG_VERSION)"
11 #SRCPKG_VDATE="231127"
13 SRCPKG_CATEGORY='/sysdist/shell'
15 : $(ui_PkgInitFrame_NameNVersion)
18 SRCPKG_AUTHOR="CottonCandyOwner"
19 SRCPKG_AUTHOR_EMAIL="CottonCandyOwner@126.com"
20 SRCPKG_MAINTAINER="CottonCandyOwner"
21 #SRCPKG_MAINTAINER_EMAIL="CottonCandyOwner@126.com"
22 SRCPKG_BUGREPORT="CottonCandyOwner@126.com"
24 : $(ui_PkgInitFrame_AuthorNEmail)
27 SRCPKG_SHORTDESC='a demo in general..'
28 SRCPKG_DESC_FMT='MarkDown'
29 SRCPKG_DESC="this srcpkg is a demo in general. it's used to show how does
30 build-srcpkg create a srcpkg from wizard to binary output, so that developer
31 could known the develop procedure by build-srcpkg."
33 : $(ui_PkgInitFrame_Desc)
36 SRCPKG_HOMEPAGE='https://repo.or.cz/demo'
37 SRCPKG_REPO_URL="https://repo.or.cz/demo.git"
38 SRCPKG_REPO_TYPE="git"
40 : $(ui_PkgInitFrame_WebUrl)
43 # 1.5.Toolchain & Language
47 'C' 'C++' 'Objective-C' 'vala'
51 SRCPKG_MAIN_SYSTEM_TYPE=(
52 'linux/freebsd/win/mac'
54 freebsd openbsd netbsd
55 solaris opensolaris AIX HP-UX
57 SRCPKG_TOOLCHAIN_TYPE=(
59 $(autogen_GetToolChainList)
62 : $(ui_PkgInitFrame_ToolchainNLang)
73 xxx 0.00 xxx http://...
75 glibc 2.23 GPL-3.0 https://www.gnu.org/software/libc/libc.html
78 : $(ui_PkgInitFrame_Dep)
83 SRCPKG_YEAR="$(date +%Y)"
84 SRCPKG_HOLDER="${SRCPKG_AUTHOR}(${SRCPKG_AUTHOR_EMAIL})"
89 'MIT' 'Apache-2.0' 'BSD-3-Clause'
90 'GPL-3.0' 'LGPL-3.0' 'MPL-2.0'
91 'GPL' 'GPL-2.0' 'ISC' 'PMIT'
93 SRCPKG_LICENSE_FILES=(
96 '${SRCPKG_LICENSE}.COPYING'
98 '${SRCPKG_LICENSE}.LISENCE'
101 : $(ui_PkgInitFrame_Copying)
109 SRCPKG_BUILDER_TYPE=(
122 $(autogen_SrcPkgTypeList)
124 : $(ui_PkgInitFrame_Buildinfo)
133 man info dvi txt html pdf tex2all md2all
137 "exe+lib+example+shlib"
143 $(autogen_SrcTypeList)
150 exe dll drv lib libdll unitlib unitlibdll
152 hostutils exelist objlist
158 "greatest+scripttest"
159 greatest # cunit cppunit check
160 scripttest # bats shunit2
163 : $(ui_PkgInitFrame_DestList)
166 SRCPKG_INSTPKG_TYPE='
171 # or named as output/binary ?
172 SRCPKG_INST_FILE_LIST='
177 SRCPKG_INST_FILE_TYPE='etz'
178 : $(ui_PkgInitFrame_Instpkg)
183 # not all param should be defined, leave it blank for developer's style.
184 # Style defined here means it will overwrite
188 # $(autogen_StyleList)
192 # $(autogen_CodingStyleList)
196 # $(autogen_NamingStyleList)
200 ## $(autogen_TmplStyleList)
204 $(autogen_CodingTmplList)
208 $(autogen_SrcpkgStyleList)
212 $(autogen_InstpkgStyleList)
215 : $(ui_PkgInitFrame_Style)
227 # license type & file of srcpkg itself
229 # copyright/license in all file (include media(or non-text) file)
232 # My software runs primarily on a completely free OS
234 # My license is compatible with GNU GPLv3 and later or GFDLv1.3 and later (!MIT!)
236 # My dependencies are compatible with my package license
238 # All my files include valid copyright notices
240 # All my files include a license notice
242 # Origin and license of media files is specified
244 # My tar file includes a copy of the license
246 # I read carefully and don't check this one
248 # I agree with the hosting requirements