-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add xlswriter --init --build-only-xlswriter
- Loading branch information
1 parent
d8cc0a3
commit 8908b88
Showing
11 changed files
with
271 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path("../Abstract/abstract-php-extension", __dir__) | ||
|
||
# Class for Xlswriter Extension | ||
class XlswriterAT70 < AbstractPhpExtension | ||
init | ||
desc "Xlswriter PHP extension" | ||
homepage "https://github.com/viest/php-ext-xlswriter" | ||
url "https://pecl.php.net/get/xlswriter-1.5.0.tgz?init=true" | ||
sha256 "05698726e123e4c339ccaaab80f0a81705b9bc9c21377f0951c9ad51df4718c6" | ||
head "https://github.com/viest/php-ext-xlswriter.git" | ||
license "BSD-2-Clause" | ||
|
||
bottle do | ||
root_url "https://ghcr.io/v2/shivammathur/extensions" | ||
end | ||
|
||
def install | ||
args = %W[ | ||
--with-xlswriter | ||
--enable-reader | ||
] | ||
Dir.chdir "xlswriter-#{version}" | ||
safe_phpize | ||
system "./configure", "--prefix=#{prefix}", phpconfig, *args | ||
system "make" | ||
prefix.install "modules/#{extension}.so" | ||
write_config_file | ||
add_include_files | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path("../Abstract/abstract-php-extension", __dir__) | ||
|
||
# Class for Xlswriter Extension | ||
class XlswriterAT71 < AbstractPhpExtension | ||
init | ||
desc "Xlswriter PHP extension" | ||
homepage "https://github.com/viest/php-ext-xlswriter" | ||
url "https://pecl.php.net/get/xlswriter-1.5.0.tgz?init=true" | ||
sha256 "05698726e123e4c339ccaaab80f0a81705b9bc9c21377f0951c9ad51df4718c6" | ||
head "https://github.com/viest/php-ext-xlswriter.git" | ||
license "BSD-2-Clause" | ||
|
||
bottle do | ||
root_url "https://ghcr.io/v2/shivammathur/extensions" | ||
end | ||
|
||
def install | ||
args = %W[ | ||
--with-xlswriter | ||
--enable-reader | ||
] | ||
Dir.chdir "xlswriter-#{version}" | ||
safe_phpize | ||
system "./configure", "--prefix=#{prefix}", phpconfig, *args | ||
system "make" | ||
prefix.install "modules/#{extension}.so" | ||
write_config_file | ||
add_include_files | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path("../Abstract/abstract-php-extension", __dir__) | ||
|
||
# Class for Xlswriter Extension | ||
class XlswriterAT72 < AbstractPhpExtension | ||
init | ||
desc "Xlswriter PHP extension" | ||
homepage "https://github.com/viest/php-ext-xlswriter" | ||
url "https://pecl.php.net/get/xlswriter-1.5.0.tgz?init=true" | ||
sha256 "05698726e123e4c339ccaaab80f0a81705b9bc9c21377f0951c9ad51df4718c6" | ||
head "https://github.com/viest/php-ext-xlswriter.git" | ||
license "BSD-2-Clause" | ||
|
||
bottle do | ||
root_url "https://ghcr.io/v2/shivammathur/extensions" | ||
end | ||
|
||
def install | ||
args = %W[ | ||
--with-xlswriter | ||
--enable-reader | ||
] | ||
Dir.chdir "xlswriter-#{version}" | ||
safe_phpize | ||
system "./configure", "--prefix=#{prefix}", phpconfig, *args | ||
system "make" | ||
prefix.install "modules/#{extension}.so" | ||
write_config_file | ||
add_include_files | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path("../Abstract/abstract-php-extension", __dir__) | ||
|
||
# Class for Xlswriter Extension | ||
class XlswriterAT73 < AbstractPhpExtension | ||
init | ||
desc "Xlswriter PHP extension" | ||
homepage "https://github.com/viest/php-ext-xlswriter" | ||
url "https://pecl.php.net/get/xlswriter-1.5.0.tgz?init=true" | ||
sha256 "05698726e123e4c339ccaaab80f0a81705b9bc9c21377f0951c9ad51df4718c6" | ||
head "https://github.com/viest/php-ext-xlswriter.git" | ||
license "BSD-2-Clause" | ||
|
||
bottle do | ||
root_url "https://ghcr.io/v2/shivammathur/extensions" | ||
end | ||
|
||
def install | ||
args = %W[ | ||
--with-xlswriter | ||
--enable-reader | ||
] | ||
Dir.chdir "xlswriter-#{version}" | ||
safe_phpize | ||
system "./configure", "--prefix=#{prefix}", phpconfig, *args | ||
system "make" | ||
prefix.install "modules/#{extension}.so" | ||
write_config_file | ||
add_include_files | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path("../Abstract/abstract-php-extension", __dir__) | ||
|
||
# Class for Xlswriter Extension | ||
class XlswriterAT74 < AbstractPhpExtension | ||
init | ||
desc "Xlswriter PHP extension" | ||
homepage "https://github.com/viest/php-ext-xlswriter" | ||
url "https://pecl.php.net/get/xlswriter-1.5.0.tgz?init=true" | ||
sha256 "05698726e123e4c339ccaaab80f0a81705b9bc9c21377f0951c9ad51df4718c6" | ||
head "https://github.com/viest/php-ext-xlswriter.git" | ||
license "BSD-2-Clause" | ||
|
||
bottle do | ||
root_url "https://ghcr.io/v2/shivammathur/extensions" | ||
end | ||
|
||
def install | ||
args = %W[ | ||
--with-xlswriter | ||
--enable-reader | ||
] | ||
Dir.chdir "xlswriter-#{version}" | ||
safe_phpize | ||
system "./configure", "--prefix=#{prefix}", phpconfig, *args | ||
system "make" | ||
prefix.install "modules/#{extension}.so" | ||
write_config_file | ||
add_include_files | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path("../Abstract/abstract-php-extension", __dir__) | ||
|
||
# Class for Xlswriter Extension | ||
class XlswriterAT80 < AbstractPhpExtension | ||
init | ||
desc "Xlswriter PHP extension" | ||
homepage "https://github.com/viest/php-ext-xlswriter" | ||
url "https://pecl.php.net/get/xlswriter-1.5.0.tgz?init=true" | ||
sha256 "05698726e123e4c339ccaaab80f0a81705b9bc9c21377f0951c9ad51df4718c6" | ||
head "https://github.com/viest/php-ext-xlswriter.git" | ||
license "BSD-2-Clause" | ||
|
||
bottle do | ||
root_url "https://ghcr.io/v2/shivammathur/extensions" | ||
end | ||
|
||
def install | ||
args = %W[ | ||
--with-xlswriter | ||
--enable-reader | ||
] | ||
Dir.chdir "xlswriter-#{version}" | ||
safe_phpize | ||
system "./configure", "--prefix=#{prefix}", phpconfig, *args | ||
system "make" | ||
prefix.install "modules/#{extension}.so" | ||
write_config_file | ||
add_include_files | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path("../Abstract/abstract-php-extension", __dir__) | ||
|
||
# Class for Xlswriter Extension | ||
class XlswriterAT81 < AbstractPhpExtension | ||
init | ||
desc "Xlswriter PHP extension" | ||
homepage "https://github.com/viest/php-ext-xlswriter" | ||
url "https://pecl.php.net/get/xlswriter-1.5.0.tgz?init=true" | ||
sha256 "05698726e123e4c339ccaaab80f0a81705b9bc9c21377f0951c9ad51df4718c6" | ||
head "https://github.com/viest/php-ext-xlswriter.git" | ||
license "BSD-2-Clause" | ||
|
||
bottle do | ||
root_url "https://ghcr.io/v2/shivammathur/extensions" | ||
end | ||
|
||
def install | ||
args = %W[ | ||
--with-xlswriter | ||
--enable-reader | ||
] | ||
Dir.chdir "xlswriter-#{version}" | ||
safe_phpize | ||
system "./configure", "--prefix=#{prefix}", phpconfig, *args | ||
system "make" | ||
prefix.install "modules/#{extension}.so" | ||
write_config_file | ||
add_include_files | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path("../Abstract/abstract-php-extension", __dir__) | ||
|
||
# Class for Xlswriter Extension | ||
class XlswriterAT82 < AbstractPhpExtension | ||
init | ||
desc "Xlswriter PHP extension" | ||
homepage "https://github.com/viest/php-ext-xlswriter" | ||
url "https://pecl.php.net/get/xlswriter-1.5.0.tgz?init=true" | ||
sha256 "05698726e123e4c339ccaaab80f0a81705b9bc9c21377f0951c9ad51df4718c6" | ||
head "https://github.com/viest/php-ext-xlswriter.git" | ||
license "BSD-2-Clause" | ||
|
||
bottle do | ||
root_url "https://ghcr.io/v2/shivammathur/extensions" | ||
end | ||
|
||
def install | ||
args = %W[ | ||
--with-xlswriter | ||
--enable-reader | ||
] | ||
Dir.chdir "xlswriter-#{version}" | ||
safe_phpize | ||
system "./configure", "--prefix=#{prefix}", phpconfig, *args | ||
system "make" | ||
prefix.install "modules/#{extension}.so" | ||
write_config_file | ||
add_include_files | ||
end | ||
end |