talimat 954 B

12345678910111213141516171819202122232425262728
  1. # Description: 80x86 assembler designed for portability and modularity.
  2. # URL: http://nasm.sourceforge.net/
  3. # Maintainers: H. Peter Anvin,Frank B. Kotler,Jin Kyu Song,Cyrill Gorcunov
  4. # Packager: pierre at nutyx dot org
  5. name=nasm
  6. version=2.11.06
  7. release=1
  8. # http://www.nasm.us/pub/nasm/releasebuilds/$version/$name-$version.tar.xz
  9. source=( ftp://ftp.debian.org/debian/pool/main/n/nasm/nasm_2.11.06-1really2.11.05.orig.tar.xz
  10. http://www.nasm.us/pub/nasm/releasebuilds/$version/nasm-$version-xdoc.tar.xz)
  11. build() {
  12. cd $name-2.11.05
  13. ./configure --prefix=/usr\
  14. --mandir=/usr/share/man
  15. make
  16. mkdir -p $PKG/usr/bin
  17. mkdir -p $PKG/usr/share/man/man1
  18. make INSTALLROOT=$PKG install
  19. mkdir -pv $PKG/usr/share/doc/nasm-$version/html
  20. cd ../$name-2.11.06
  21. cp -v doc/html/*.html $PKG/usr/share/doc/nasm-$version/html
  22. cp -v doc/*.{txt,ps,pdf} $PKG/usr/share/doc/nasm-$version
  23. mkdir -pv $PKG/usr/share/info
  24. cp -v doc/info/* $PKG/usr/share/info
  25. }