summaryrefslogtreecommitdiff
path: root/repo/system/expat.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/expat.xibuild')
-rw-r--r--repo/system/expat.xibuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/repo/system/expat.xibuild b/repo/system/expat.xibuild
index bf9c49f..79fdb2d 100644
--- a/repo/system/expat.xibuild
+++ b/repo/system/expat.xibuild
@@ -2,15 +2,16 @@
DEPS=(glibc)
-SOURCE=https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.xz
+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-2.4.1
+ ./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-2.4.1
+ install -v -m644 doc/*{.html,png,css} $PKG_DEST/usr/share/doc/expat-$PKG_VER
}