update kernel configuration for the x86 architecture (i586+)
[dragora.git] / recipes / xorg / font / font-misc-cyrillic / recipe
blobdbf160d4e4596c9da630125afc81944dce9a28eb
1 # Build recipe for font-misc-cyrillic.
3 # Copyright (c) 2017 Kelsoo, <kelsoo@dragora.org>.
4 # Copyright (c) 2017 Matias Fonzo, <selk@dragora.org>.
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 #    http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
18 program=font-misc-cyrillic
19 version=1.0.3
20 arch=noarch
21 release=1
23 tarname=${program}-${version}.tar.bz2
25 # Remote source(s)
26 fetch=http://www.x.org/releases/individual/font/$tarname
28 description="
29 Font files.
31 The $pkgname package is part of X11.
34 homepage=http://www.x.org
35 license="MIT X Consortium"
37 # Source documentation
38 docs="COPYING ChangeLog README"
39 docsdir="${docdir}/${program}-${version}"
41 build()
43     set -e
45     unpack "${tardir}/$tarname"
47     cd "$srcdir"
49     ./configure $configure_args \
50      --libdir=/usr/lib${libSuffix} \
51      --infodir=$infodir \
52      --mandir=$mandir \
53      --docdir=$docsdir \
54      || true
56     make -j${jobs} V=1
57     make -j${jobs} DESTDIR="$destdir" install
59     # Copy documentation
60     mkdir -p "${destdir}${docsdir}"
62     for file in $docs
63     do
64         if test -e $file
65         then
66             cp -p $file "${destdir}${docsdir}"
67         fi
68     done