talimat 831 B

123456789101112131415161718192021222324252627282930
  1. # Description: A free library for arbitrary precision arithmetic.
  2. # URL: http://unix.schottelius.org/gpm
  3. # Packager: pierre at nutyx dot org
  4. name=gpm
  5. version=1.20.7
  6. release=2
  7. source=(http://www.nico.schottelius.org/software/$name/archives/$name-$version.tar.bz2)
  8. build() {
  9. source /etc/blfs-bootscripts
  10. wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
  11. tar xvf $scripts-$scriptsversion.tar.bz2
  12. cd $name-$version
  13. ./autogen.sh
  14. ./configure --prefix=/usr \
  15. --sysconfdir=/etc \
  16. --mandir=/usr/share/man \
  17. --infodir=/usr/share/info
  18. LDFLAGS="-lm" make
  19. make ROOT=$PKG install
  20. ln -sv libgpm.so.2.1.0 $PKG/usr/lib/libgpm.so.1
  21. ln -sv libgpm.so.2.1.0 $PKG/usr/lib/libgpm.so
  22. install -v -m644 conf/gpm-root.conf $PKG/etc
  23. cd ../$scripts-$scriptsversion
  24. make DESTDIR=$PKG install-gpm
  25. }