diff options
| author | aethrvmn <me@aethrvmn.gr> | 2025-11-11 00:10:41 +0000 |
|---|---|---|
| committer | aethrvmn <me@aethrvmn.gr> | 2025-11-11 00:10:41 +0000 |
| commit | b2ad93252404064af3bb28a1f4646f1dc3230581 (patch) | |
| tree | 3e320ea339e1eb003ba2fffec3bb631d126ec98a | |
| parent | added valgrind definition (diff) | |
added gnupg definition
| -rw-r--r-- | src/tesserae/gnupg.nim | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/tesserae/gnupg.nim b/src/tesserae/gnupg.nim new file mode 100644 index 0000000..d47843f --- /dev/null +++ b/src/tesserae/gnupg.nim @@ -0,0 +1,43 @@ +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", + "make info --html --no-split -I doc -o doc/gnupg_nochunck.html ../doc/gnupg.texi", + "make info --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" |
