talimat 984 B

1234567891011121314151617181920212223242526
  1. name=libarchive
  2. version=3.1.2
  3. source=(http://www.libarchive.org/downloads/$name-$version.tar.gz
  4. http://downloads.nutyx.org/files/patchs/$name/$name-$version-mtree-fix-line-filename-length-calculation-01.patch
  5. http://downloads.nutyx.org/files/patchs/$name/$name-$version-limit-write-requests-to-at-most-INT_MAX-01.patch
  6. http://downloads.nutyx.org/files/patchs/$name/$name-$version-acl-01.patch
  7. http://downloads.nutyx.org/files/patchs/$name/$name-$version-sparce-mtree-01.patch
  8. )
  9. derle() {
  10. cd $name-$version
  11. patch -Np1 -i ../$name-$version-mtree-fix-line-filename-length-calculation-01.patch
  12. patch -Np1 -i ../$name-$version-limit-write-requests-to-at-most-INT_MAX-01.patch
  13. patch -Np1 -i ../$name-$version-acl-01.patch
  14. patch -Np1 -i ../$name-$version-sparce-mtree-01.patch
  15. ./configure --prefix=/tools \
  16. --without-xml2 --without-expat \
  17. --without-openssl --disable-acl \
  18. -disable-bsdcpio --without-zlib \
  19. --disable-xattr \
  20. --without-iconv --without-bz2lib
  21. make
  22. make install
  23. }