From 003727289cc45e29eff0c0c48ad0f9660f96644f Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 15:02:47 +0000 Subject: separated patch, build, check and package stages --- repo/system/nspr.xibuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'repo/system/nspr.xibuild') diff --git a/repo/system/nspr.xibuild b/repo/system/nspr.xibuild index f7a3d55..9ce0d68 100644 --- a/repo/system/nspr.xibuild +++ b/repo/system/nspr.xibuild @@ -7,14 +7,18 @@ PKG_VER=4.33 SOURCE=https://archive.mozilla.org/pub/nspr/releases/v$PKG_VER/src/nspr-$PKG_VER.tar.gz DESC="Netscape Portable Runtime" -build () { +patch () { sed -ri '/^RELEASE/s/^/#/' pr/src/misc/Makefile.in sed -i 's#$(LIBRARY) ##' config/rules.mk +} - +build () { cd nspr ./configure \ --prefix=/usr --with-mozilla --with-pthreads --enable-64bit make +} + +package () { make DESTDIR=$PKG_DEST install } -- cgit v1.2.1