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

DEPS=(glibc)

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

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

    make DESTDIR=$PKG_DEST install 

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