mag

a binary package manager in one C file: apk and pacman repos, CRUX, Void and Exherbo ports
git clone https://github.com/tortr-rs/mag
Log | Files | Refs | README | LICENSE

bsdtar (935B)


      1 desc: tar, cpio and cat for archives, from libarchive; what pkgsrc's own bsdtar builds with copies of zlib and bzip2 that mag does not bring along
      2 version: 3.8.11
      3 url: https://www.libarchive.org/downloads/libarchive-${version}.tar.xz
      4 sha256: a3dc0872b1b39da34dc18ef1b944f0f11ffd37425d70ae04be679279f1cf43d2
      5 deps: archivers/libarchive devel/zlib archivers/bzip2 archivers/xz archivers/zstd archivers/lz4 dev-build/libtool devel/gmake
      6 steps:
      7 	./configure --prefix=$PREFIX --disable-static --enable-bsdtar=shared --enable-bsdcpio=shared --enable-bsdcat=shared --disable-bsdunzip --without-openssl --without-xml2 --without-expat --without-nettle --without-iconv --without-lz4 --disable-acl --disable-xattr
      8 	gmake -j$JOBS LIBTOOL=libtool
      9 	gmake LIBTOOL=libtool DESTDIR=$DESTDIR install
     10 	ln -sf bsdtar $DESTDIR$PREFIX/bin/tar
     11 	ln -sf bsdcpio $DESTDIR$PREFIX/bin/cpio
     12 	rm -rf $DESTDIR$PREFIX/lib $DESTDIR$PREFIX/include $DESTDIR$PREFIX/share