milis/talimatname/temel/gpm/talimat

32 lines
817 B
Plaintext
Raw Permalink Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: A free library for arbitrary precision arithmetic.
# URL: http://unix.schottelius.org/gpm
# Paketçi: milisarge
# Gerekler:
isim=gpm
surum=1.20.7
devir=2
kaynak=(http://www.nico.schottelius.org/software/$isim/archives/$isim-$surum.tar.bz2)
derle() {
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
tar xvf $scripts-$scriptsversion.tar.bz2
cd $isim-$surum
./autogen.sh
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
LDFLAGS="-lm" make
make ROOT=$PKG install
ln -sv libgpm.so.2.1.0 $PKG/usr/lib/libgpm.so.1
ln -sv libgpm.so.2.1.0 $PKG/usr/lib/libgpm.so
install -v -m644 conf/gpm-root.conf $PKG/etc
cd ../$scripts-$scriptsversion
make DESTDIR=$PKG install-gpm
}