Merge branch '20091231-2'
[git/cygwin-packages/libuninameslist.git] / libuninameslist.cygport
1 NAME="libuninameslist"
2 VERSION=20210917
3 RELEASE=1
4 CATEGORY="Libs"
5 SUMMARY="Unicode NamesList library"
6 DESCRIPTION="The Unicode consortium provides a file containing annotations on
7 many unicode characters. This library contains a compiled version of this file
8 so that programs can access these data easily. The library contains a very
9 large (sparse) array with one entry for each unicode code point. The library
10 also contains a (much smaller) list of all the Unicode blocks."
11 HOMEPAGE="https://github.com/fontforge/libuninameslist/releases"
12
13 ################################
14 ## Settings for 'download'
15 ################################
16 # Source from a git repository
17 GIT_REPO="https://github.com/fontforge/libuninameslist"
18 declare -A GIT_DATEHASH_BY_NAME=(
19 # git log --date=iso-strict --format='%cd/%H' -1
20 [20210917]=2021-09-17T15:45:15-07:00/e4b2fc96e2b212576314d76e55bac50491274ac3
21 [20200413p3]=2020-06-26T09:11:42-07:00/5d26f1f514f7fd712d8e8faca0202598b0f0d7d9
22 [20200413]=2020-04-13T12:13:13-07:00/20200413
23 )
24 REV_HASH="${GIT_DATEHASH_BY_NAME[${VERSION}]#*/}"
25 REV_DATE="${GIT_DATEHASH_BY_NAME[${VERSION}]%%/*}"
26 REV_DATE_SHORT="${REV_DATE%%T*}"
27 GIT_BASENAME="${GIT_REPO##*/}"
28 SRC_URI="${GIT_REPO}/archive/${REV_HASH}/${GIT_BASENAME}-${VERSION}.tar.gz"
29 SRC_DIR="${GIT_BASENAME}-${REV_HASH#v}"
30
31 ################################
32 ## Settings for 'prep'
33 ################################
34 # Apply patches whose filenames are in a default style of 'git format-patch'.
35 PATCH_URI=$(\
36 find -maxdepth 1 -type f -name '[0-9][0-9][0-9][0-9]-*.patch' \
37 | sort \
38 )
39 # And then, additional patches, if any.
40 PATCH_URI+="
41 "
42 # A list of files to be deleted immediately upon unpacking sources
43 # (cf. /usr/share/cygport/lib/src_prep.cygpart).
44 DISTCLEANFILES="aclocal.m4"
45
46 ################################
47 ## Settings for 'compile'
48 ################################
49 # Any options to be passed to 'make' through 'cygmake'
50 # (cf. /usr/share/cygport/lib/src_compile.cygpart).
51 MAKEOPTS="-j1" # Avoid running multiple jobs in parallel.
52
53 # Additional flags to be passed to 'configure' through 'cygconf'
54 # (cf. /usr/share/cygport/cygclass/autotools.cygclass).
55 CYGCONF_ARGS="--enable-frenchlib"
56
57 ################################
58 ## Settings for 'package'
59 ################################
60 ABI=1
61 PKG_NAMES="${PN}${ABI} ${PN}-devel"
62
63 printf -v "${PN}${ABI}_CATEGORY" "%s" "${CATEGORY}"
64 printf -v "${PN}${ABI}_SUMMARY" "%s" "${SUMMARY} (runtime)"
65 # Runtime libraries only.
66 printf -v "${PN}${ABI}_CONTENTS" "%s" "\
67 usr/bin/ \
68 "
69
70 printf -v "${PN}_devel_CATEGORY" "%s" "Devel ${CATEGORY}"
71 printf -v "${PN}_devel_SUMMARY" "%s" "${SUMMARY} (development)"
72 printf -v "${PN}_devel_CONTENTS" "%s" "\
73 usr/include/ \
74 usr/lib/ \
75 usr/share/doc/ \
76 usr/share/man/ \
77 "
This page took 0.034935 seconds and 5 git commands to generate.