summaryrefslogtreecommitdiff
path: root/repo/system/expat.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 02:27:41 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 02:27:41 +0000
commit91ed29d7dda0c5764bfc991985bf98adab0890f0 (patch)
tree936e59025c55e921ec06ad202991c5b66710abc2 /repo/system/expat.xibuild
parentcb447620084a20be80d116c81c2e9ec110be7118 (diff)
added PKG_VER to xibuilds
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
}