milis/talimatname/temel/gmp/talimat

35 lines
791 B
Plaintext
Raw Normal View History

2017-10-27 21:56:50 +02:00
# Tanım: A free library for arbitrary precision arithmetic.
2016-02-24 01:27:23 +01:00
# URL: http://gmplib.org/
2017-10-27 21:56:50 +02:00
# Paketçi: milisarge
# Gerekler:
2017-10-28 14:15:02 +02:00
isim=gmp
surum=6.1.0
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:15:02 +02:00
kaynak=(http://ftp.gnu.org/gnu/$isim/$isim-$surum.tar.xz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:15:02 +02:00
cd gmp-$surum
2017-10-27 21:56:50 +02:00
case `uname -m` in
i?86)
ABI=32 ./configure --build=i686-pc-linux-gnu \
--prefix=/usr --enable-cxx --libdir=/lib ;;
*)
./configure --build=x86_64-unknown-linux-gnu \
--prefix=/usr --enable-cxx --libdir=/lib ;;
esac
make
# make check 2>&1 | tee gmp-check-log
# awk '/tests passed/{total+=$2} ; END{print total}' gmp-check-log
make DESTDIR=$PKG install
2016-02-24 01:27:23 +01:00
2017-10-27 21:56:50 +02:00
rm -rf $PKG/usr/share/info/dir
2016-02-24 01:27:23 +01:00
2017-10-27 21:56:50 +02:00
# Documentation
2017-10-28 14:15:02 +02:00
#mkdir -p $PKG/usr/share/doc/gmp-${surum}
2016-02-24 01:27:23 +01:00
2017-10-27 21:56:50 +02:00
#cp doc/{isa_abi_headache,configuration} doc/*.html \
2017-10-28 14:15:02 +02:00
#$PKG/usr/share/doc/gmp-${surum}
2016-02-24 01:27:23 +01:00
}