Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
libarchive: New package
Browse files Browse the repository at this point in the history
  • Loading branch information
mingwandroid committed Jun 11, 2016
1 parent 9aa0dd8 commit 05257f4
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
16 changes: 16 additions & 0 deletions libarchive/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash

# Building libarchive 3.1.2 with CMake 3.3.1 doesn't get you .pc files.
# cmake "-DCMAKE_BUILD_TYPE=Release" \
# "-GUnix Makefiles" \
# "-DCMAKE_INSTALL_PREFIX=${PREFIX}"
# cmake --build . -- "-j${CPU_COUNT}"
# cmake --build . --target install

autoreconf -i
./configure --prefix=${PREFIX} \
--with-expat \
--without-xml2

make -j"${CPU_COUNT}" V=1
make install
33 changes: 33 additions & 0 deletions libarchive/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package:
name: libarchive
version: 3.1.2

source:
fn: libarchive-v3.1.2.tar.gz
url: https://github.com/libarchive/libarchive/archive/v3.1.2.tar.gz
md5: 3b604ac624206652f9cd2856ee6d11a0

requirements:
build:
# - cmake
- autoconf # [not linux]
- automake # [not linux]
- libtool # [not linux]
- bzip2
- expat
- xz
- zlib

run:
- bzip2
- expat
- xz
- zlib

build:
number: 0

about:
home: http://www.libarchive.org/
summary: Multi-format archive and compression library
license: New BSD License

0 comments on commit 05257f4

Please sign in to comment.