diff options
| author | aethrvmn <me@aethrvmn.gr> | 2025-11-16 20:43:49 +0000 |
|---|---|---|
| committer | aethrvmn <me@aethrvmn.gr> | 2025-11-16 20:43:49 +0000 |
| commit | 0582b0f8cd26678e741a06ba2ab42cc47a7c689a (patch) | |
| tree | 028dcc99591775e87682c0ff8259fea3a21aa538 /src/tesserae/extra/libxml2.nim | |
| parent | moved core LFS tessera to core/ (diff) | |
moved non LFS tessera to extra/
Diffstat (limited to 'src/tesserae/extra/libxml2.nim')
| -rw-r--r-- | src/tesserae/extra/libxml2.nim | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/tesserae/extra/libxml2.nim b/src/tesserae/extra/libxml2.nim new file mode 100644 index 0000000..68f0ff0 --- /dev/null +++ b/src/tesserae/extra/libxml2.nim @@ -0,0 +1,24 @@ +import .. / lapis + +tessera "libxml2": + source: "https://download.gnome.org/sources/libxml2/2.14/libxml2-2.14.5.tar.xz" + patches: @[""] + dependencies: @[ + "icu" + ] + build: @[ + """ + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --disable-static \ + --with-history \ + --with-icu \ + PYTHON=/usr/bin/python3 \ + --docdir=/usr/share/doc/libxml2-2.14.5 + """, + "make", + "make install", + "rm -vf /usr/lib/libxml2.la", + "sed '/libs=/s/xml2.*/xml2\"/' -i /usr/bin/xml2-config" + ] + result: "libxml2.so" |
