milis/talimatname/temel/gpm/talimat

32 lines
817 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://unix.schottelius.org/gpm
2017-10-27 21:56:50 +02:00
# Paketçi: milisarge
# Gerekler:
2017-10-28 14:15:02 +02:00
isim=gpm
surum=1.20.7
devir=2
2016-02-24 01:27:23 +01:00
2017-10-28 14:15:02 +02:00
kaynak=(http://www.nico.schottelius.org/software/$isim/archives/$isim-$surum.tar.bz2)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
tar xvf $scripts-$scriptsversion.tar.bz2
2017-10-28 14:15:02 +02:00
cd $isim-$surum
2016-02-24 01:27:23 +01:00
./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
}