talimat 721 B

123456789101112131415161718192021222324252627282930
  1. # Tanım: Farklı arşiv tiplerini uygulayan kütüphane
  2. # URL: http://people.freebsd.org/~kientzle/libarchive
  3. # Paketçi: milisarge
  4. # Gerekler: musl
  5. # Grup: sistem
  6. isim=libarchive-static
  7. surum=3.3.3
  8. devir=1
  9. kaynak=(http://www.libarchive.org/downloads/libarchive-$surum.tar.gz)
  10. derle() {
  11. cd libarchive-$surum
  12. CC="musl-gcc" ./configure LDFLAGS='--static' \
  13. --prefix="/usr" \
  14. --enable-bsdtar=static \
  15. --disable-shared \
  16. --without-xml2 \
  17. --without-nettle
  18. make
  19. make DESTDIR=$PKG install
  20. rm -rf $PKG/usr/lib
  21. rm -rf $PKG/usr/include
  22. rm -rf $PKG/usr/share
  23. mv $PKG/usr/bin/bsdtar $PKG/usr/bin/bsdtar-static
  24. mv $PKG/usr/bin/bsdcat $PKG/usr/bin/bsdcat-static
  25. mv $PKG/usr/bin/bsdcpio $PKG/usr/bin/bsdcpio-static
  26. }