Merge branch '20091231-2'
[git/cygwin-packages/libuninameslist.git] / libuninameslist.cygport
CommitLineData
a0ce978b 1NAME="libuninameslist"
2f0b7bf2 2VERSION=20210917
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
2f0b7bf2 20 [20210917]=2021-09-17T15:45:15-07:00/e4b2fc96e2b212576314d76e55bac50491274ac3
bf1d2101
LL
21 [20200413p3]=2020-06-26T09:11:42-07:00/5d26f1f514f7fd712d8e8faca0202598b0f0d7d9
22 [20200413]=2020-04-13T12:13:13-07:00/20200413
935ec447 23)
bf1d2101
LL
24REV_HASH="${GIT_DATEHASH_BY_NAME[${VERSION}]#*/}"
25REV_DATE="${GIT_DATEHASH_BY_NAME[${VERSION}]%%/*}"
26REV_DATE_SHORT="${REV_DATE%%T*}"
935ec447 27GIT_BASENAME="${GIT_REPO##*/}"
bf1d2101
LL
28SRC_URI="${GIT_REPO}/archive/${REV_HASH}/${GIT_BASENAME}-${VERSION}.tar.gz"
29SRC_DIR="${GIT_BASENAME}-${REV_HASH#v}"
a0ce978b 30
935ec447
LL
31################################
32## Settings for 'prep'
33################################
34# Apply patches whose filenames are in a default style of 'git format-patch'.
35PATCH_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.
40PATCH_URI+="
41"
42# A list of files to be deleted immediately upon unpacking sources
43# (cf. /usr/share/cygport/lib/src_prep.cygpart).
a0ce978b 44DISTCLEANFILES="aclocal.m4"
935ec447
LL
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).
51MAKEOPTS="-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).
55CYGCONF_ARGS="--enable-frenchlib"
56
57################################
58## Settings for 'package'
59################################
60ABI=1
61PKG_NAMES="${PN}${ABI} ${PN}-devel"
62
63printf -v "${PN}${ABI}_CATEGORY" "%s" "${CATEGORY}"
64printf -v "${PN}${ABI}_SUMMARY" "%s" "${SUMMARY} (runtime)"
65# Runtime libraries only.
66printf -v "${PN}${ABI}_CONTENTS" "%s" "\
67 usr/bin/ \
68"
69
70printf -v "${PN}_devel_CATEGORY" "%s" "Devel ${CATEGORY}"
71printf -v "${PN}_devel_SUMMARY" "%s" "${SUMMARY} (development)"
72printf -v "${PN}_devel_CONTENTS" "%s" "\
73 usr/include/ \
74 usr/lib/ \
75 usr/share/doc/ \
76 usr/share/man/ \
77"
This page took 0.09926 seconds and 5 git commands to generate.