From 91ed29d7dda0c5764bfc991985bf98adab0890f0 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 02:27:41 +0000 Subject: added PKG_VER to xibuilds --- repo/system/expat.xibuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'repo/system/expat.xibuild') 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 } -- cgit v1.2.1