ffi-libarchive-binary 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 70553929287fb0133e9a53f0987514be5ab04c8a
4
- data.tar.gz: b4a5ecf4b5daf4ea84fa5d30fcbcffd7c8a3ac7f
3
+ metadata.gz: 5e567213e9e1999713d84c4908eee37c44624b2e
4
+ data.tar.gz: 20dc3d8ca1a320810d587aebc53b47ea33e9d764
5
5
  SHA512:
6
- metadata.gz: a55f6147111f7718a4a1f0f8e58e197e75e092dbe40a068256d328d422b63e25132403a81eb2f92db44d8b46db10288f55f7be9881bc38f4b82d9938a8a6ee0a
7
- data.tar.gz: 7e0f991ed1f666020911e726e40aa50683945d83516f5db83d8305a4556c67a3b988fd48c59c23c370b0a0c5584c5517dbd9bf2434ee78fdbd7a795a7f072db7
6
+ metadata.gz: 5ed62a827c620699c108c94bc2de2ff33e5bb4d13843b1735496d548913b6f388706a4e1340be5f09939773f3de49aca4af09a55d54996abcc8f3d586b85faaa
7
+ data.tar.gz: eb13e612053da3458b3d79bf60e8c5cf18bd5174d5ee32fa5f2353f23d2675d117dd8446fe8de5614fb2405e90faf22470ba83ee929b3a3245a2ba3649303240
data/README.adoc CHANGED
@@ -1,5 +1,8 @@
1
1
  = Binaries for ffi-libarchive
2
2
 
3
+ image:https://img.shields.io/gem/v/ffi-libarchive-binary.svg["Gem Version", link="https://rubygems.org/gems/ffi-libarchive-binary"]
4
+ image:https://github.com/fontist/ffi-libarchive-binary/actions/workflows/rspec.yml/badge.svg["Build Status", link="https://github.com/fontist/ffi-libarchive-binary/actions/workflows/rspec.yml"]
5
+
3
6
  == Purpose
4
7
 
5
8
  Contains pre-compiled and install-time-compiled binaries for ffi-libarchive.
@@ -49,6 +52,15 @@ reader.close
49
52
  ----
50
53
 
51
54
 
55
+ == Dependencies
56
+
57
+ * zlib
58
+ * Expat
59
+ * OpenSSL (for Linux only)
60
+
61
+ These dependencies are generally present on all systems.
62
+
63
+
52
64
  == Development
53
65
 
54
66
  We are following Sandi Metz's Rules for this gem, you can read the
data/Rakefile CHANGED
@@ -52,6 +52,12 @@ task :compile, [:host] do |_t, args|
52
52
  recipe.cook_if_not
53
53
  end
54
54
 
55
+ desc "Recompile binary"
56
+ task :recompile do
57
+ recipe = LibarchiveBinary::LibarchiveRecipe.new
58
+ recipe.cook
59
+ end
60
+
55
61
  CLOBBER.include("pkg")
56
62
  CLEAN.include("ports",
57
63
  "tmp",
@@ -19,20 +19,37 @@ module LibarchiveBinary
19
19
  def configure_defaults
20
20
  [
21
21
  "--host=#{@host}",
22
- "--disable-static",
23
- "--enable-shared",
22
+ "--disable-bsdtar",
23
+ "--disable-bsdcat",
24
+ "--disable-bsdcpio",
25
+ "--without-bz2lib",
26
+ "--without-libb2",
27
+ "--without-iconv",
28
+ "--without-lz4",
29
+ "--without-zstd",
30
+ "--without-lzma",
31
+ "--without-cng",
32
+ "--without-xml2",
33
+ "--with-expat",
34
+ "--with-openssl",
35
+ "--disable-acl",
24
36
  ]
25
37
  end
26
38
 
27
39
  def cook_if_not
28
- checkpoint_file = "#{self.name}-#{self.version}-#{self.host}.installed"
29
- checkpoint = File.join(@target, checkpoint_file)
30
- return if File.exist?(checkpoint)
40
+ cook unless File.exist?(checkpoint)
41
+ end
42
+
43
+ def cook
44
+ super
31
45
 
32
- cook
33
46
  FileUtils.touch(checkpoint)
34
47
  end
35
48
 
49
+ def checkpoint
50
+ File.join(@target, "#{self.name}-#{self.version}-#{self.host}.installed")
51
+ end
52
+
36
53
  def patch
37
54
  super
38
55
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LibarchiveBinary
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-libarchive-binary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-31 00:00:00.000000000 Z
11
+ date: 2021-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi-libarchive