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