2017-04-05 14:13:48 +02:00
|
|
|
|
# Description: Netscape Taşınabilir Çalışma Zamanı Kitaplığı (NSPR)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.mozilla.org/projects/nspr/
|
2016-07-21 21:32:32 +02:00
|
|
|
|
# Packager: milisarge
|
|
|
|
|
# Depends on:
|
2017-04-05 14:13:48 +02:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
name=nspr
|
2016-07-21 21:32:32 +02:00
|
|
|
|
version=4.12
|
2016-02-24 01:27:23 +01:00
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=( http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$version/src/$name-$version.tar.gz )
|
|
|
|
|
build () {
|
|
|
|
|
|
|
|
|
|
cd $name-$version/$name
|
|
|
|
|
sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in &&
|
|
|
|
|
sed -i 's#$(LIBRARY) ##' config/rules.mk &&
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--with-mozilla \
|
|
|
|
|
--with-pthreads \
|
|
|
|
|
$([ $(uname -m) = x86_64 ] && echo --enable-64bit) &&
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
}
|