summaryrefslogtreecommitdiff
path: root/repo/system/expat.xibuild
blob: bf9c49f24fb8820fb4bfd59fa5ac4e8cf53291c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

DEPS=(glibc)

SOURCE=https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.xz
DESC="An XML parser library"

build () {
    ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/expat-2.4.1
    make
    make check

    make DESTDIR=$PKG_DEST install 

    install -v -m644 doc/*{.html,png,css} $PKG_DEST/usr/share/doc/expat-2.4.1
}