aboutsummaryrefslogtreecommitdiff
path: root/src/tesserae/extra/gnupg.nim
blob: 2ab80908c60a958f725207ff85286075ff0c8000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Αδειοδοτείται υπό τους όρους της EUPL
import .. / .. / lapis

tessera "gnupg":
  source: "https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-2.4.8.tar.bz2"
  patches: @[""]
  dependencies: @[
    "libassuan",
    "libgcrypt",
    "libksba",
    "npth",
    "openldap",
    "gnutls",
    "pinentry"
  ]
  build: @[
    "mkdir build",
    "cd build",
    """
    ../configure --prefix=/usr           \
                --localstatedir=/var     \
                --sysconfdir=/etc        \
                --docdir=/usr/share/doc/gnupg-2.4.8
    """,
    "make",
    "makeinfo --html --no-split -I doc -o doc/gnupg_nochunck.html ../doc/gnupg.texi",
    "makeinfo --plaintext -I doc -o doc/gnupg.txt ../doc/gnupg.texi",
    "make -C doc html",
    "make install",
    "install -v -m755 -d /usr/share/doc/gnupg-2.4.8/html",
    """
    install -v -m644 doc/gnupg_nochunks.html \
                     /usr/share/doc/gnupg-2.4.8/html/hnupg.html
    """,
    """
    install -v -m644 ../doc/*.texi doc/gnupg.txt \
                     /usr/share/doc/gnupg-2.4.8
    """,
    """
    install -v -m644 doc/gnupg.html/* \
                     /usr/share/doc/gnupg-2.4.8/html
    """
  ]
  result: "gpg"
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.