talimat 859 B

1234567891011121314151617181920212223242526272829
  1. # Description: NetBSD 'make' inşa aracının taşınabilir bir sürümü.
  2. # URL: http://www.crufty.net/help/sjg/bmake.html
  3. # Packager: milisarge
  4. # Depends on:
  5. name=bmake
  6. version=20150910
  7. release=1
  8. source=(http://www.crufty.net/ftp/pub/sjg/bmake-$version.tar.gz)
  9. build(){
  10. cd $name
  11. # Add missing bsd.*.mk symlinks (thanks to Arch)
  12. _links_orig="dep doc init lib links man nls obj own prog subdir"
  13. _links_new="dep doc inc init lib links man nls obj own prog subdir"
  14. sed -i -e "s/$_links_orig/$_links_new/" mk/install-mk
  15. cd $SRC
  16. mkdir -p bmake-build
  17. cd bmake-build
  18. sh ../bmake/boot-strap --prefix=/usr
  19. cd $SRC/bmake-build
  20. # Fix directory permissions on install
  21. install -dm0755 $PKG/usr/bin
  22. install -dm0755 $PKG/usr/share/man/cat1
  23. sh ../bmake/boot-strap --prefix=/usr --install-destdir=$PKG op=install
  24. }