-
-
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 vips --init --skip-linux --build-only-vips
- Loading branch information
1 parent
9c05b31
commit 1eec9b5
Showing
10 changed files
with
264 additions
and
10 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,34 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path("../Abstract/abstract-php-extension", __dir__) | ||
|
||
# Class for Vips Extension | ||
class VipsAT70 < AbstractPhpExtension | ||
init | ||
desc "Vips PHP extension" | ||
homepage "https://github.com/libvips/php-vips-ext" | ||
url "https://pecl.php.net/get/vips-1.0.12.tgz?init=true" | ||
sha256 "c638250de6cad89d8648bff972af5224316ccb5b5b0a7c9201607709d5385282" | ||
head "https://github.com/libvips/php-vips-ext.git" | ||
license "MIT" | ||
|
||
bottle do | ||
root_url "https://ghcr.io/v2/shivammathur/extensions" | ||
end | ||
|
||
depends_on "vips" | ||
|
||
def install | ||
args = %W[ | ||
--with-vips=#{Formula["vips"].opt_prefix} | ||
] | ||
Dir.chdir "vips-#{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,34 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path("../Abstract/abstract-php-extension", __dir__) | ||
|
||
# Class for Vips Extension | ||
class VipsAT71 < AbstractPhpExtension | ||
init | ||
desc "Vips PHP extension" | ||
homepage "https://github.com/libvips/php-vips-ext" | ||
url "https://pecl.php.net/get/vips-1.0.12.tgz?init=true" | ||
sha256 "c638250de6cad89d8648bff972af5224316ccb5b5b0a7c9201607709d5385282" | ||
head "https://github.com/libvips/php-vips-ext.git" | ||
license "MIT" | ||
|
||
bottle do | ||
root_url "https://ghcr.io/v2/shivammathur/extensions" | ||
end | ||
|
||
depends_on "vips" | ||
|
||
def install | ||
args = %W[ | ||
--with-vips=#{Formula["vips"].opt_prefix} | ||
] | ||
Dir.chdir "vips-#{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,34 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path("../Abstract/abstract-php-extension", __dir__) | ||
|
||
# Class for Vips Extension | ||
class VipsAT72 < AbstractPhpExtension | ||
init | ||
desc "Vips PHP extension" | ||
homepage "https://github.com/libvips/php-vips-ext" | ||
url "https://pecl.php.net/get/vips-1.0.12.tgz?init=true" | ||
sha256 "c638250de6cad89d8648bff972af5224316ccb5b5b0a7c9201607709d5385282" | ||
head "https://github.com/libvips/php-vips-ext.git" | ||
license "MIT" | ||
|
||
bottle do | ||
root_url "https://ghcr.io/v2/shivammathur/extensions" | ||
end | ||
|
||
depends_on "vips" | ||
|
||
def install | ||
args = %W[ | ||
--with-vips=#{Formula["vips"].opt_prefix} | ||
] | ||
Dir.chdir "vips-#{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,34 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path("../Abstract/abstract-php-extension", __dir__) | ||
|
||
# Class for Vips Extension | ||
class VipsAT73 < AbstractPhpExtension | ||
init | ||
desc "Vips PHP extension" | ||
homepage "https://github.com/libvips/php-vips-ext" | ||
url "https://pecl.php.net/get/vips-1.0.12.tgz?init=true" | ||
sha256 "c638250de6cad89d8648bff972af5224316ccb5b5b0a7c9201607709d5385282" | ||
head "https://github.com/libvips/php-vips-ext.git" | ||
license "MIT" | ||
|
||
bottle do | ||
root_url "https://ghcr.io/v2/shivammathur/extensions" | ||
end | ||
|
||
depends_on "vips" | ||
|
||
def install | ||
args = %W[ | ||
--with-vips=#{Formula["vips"].opt_prefix} | ||
] | ||
Dir.chdir "vips-#{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,34 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path("../Abstract/abstract-php-extension", __dir__) | ||
|
||
# Class for Vips Extension | ||
class VipsAT74 < AbstractPhpExtension | ||
init | ||
desc "Vips PHP extension" | ||
homepage "https://github.com/libvips/php-vips-ext" | ||
url "https://pecl.php.net/get/vips-1.0.12.tgz?init=true" | ||
sha256 "c638250de6cad89d8648bff972af5224316ccb5b5b0a7c9201607709d5385282" | ||
head "https://github.com/libvips/php-vips-ext.git" | ||
license "MIT" | ||
|
||
bottle do | ||
root_url "https://ghcr.io/v2/shivammathur/extensions" | ||
end | ||
|
||
depends_on "vips" | ||
|
||
def install | ||
args = %W[ | ||
--with-vips=#{Formula["vips"].opt_prefix} | ||
] | ||
Dir.chdir "vips-#{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,34 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path("../Abstract/abstract-php-extension", __dir__) | ||
|
||
# Class for Vips Extension | ||
class VipsAT80 < AbstractPhpExtension | ||
init | ||
desc "Vips PHP extension" | ||
homepage "https://github.com/libvips/php-vips-ext" | ||
url "https://pecl.php.net/get/vips-1.0.12.tgz?init=true" | ||
sha256 "c638250de6cad89d8648bff972af5224316ccb5b5b0a7c9201607709d5385282" | ||
head "https://github.com/libvips/php-vips-ext.git" | ||
license "MIT" | ||
|
||
bottle do | ||
root_url "https://ghcr.io/v2/shivammathur/extensions" | ||
end | ||
|
||
depends_on "vips" | ||
|
||
def install | ||
args = %W[ | ||
--with-vips=#{Formula["vips"].opt_prefix} | ||
] | ||
Dir.chdir "vips-#{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,34 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require File.expand_path("../Abstract/abstract-php-extension", __dir__) | ||
|
||
# Class for Vips Extension | ||
class VipsAT81 < AbstractPhpExtension | ||
init | ||
desc "Vips PHP extension" | ||
homepage "https://github.com/libvips/php-vips-ext" | ||
url "https://pecl.php.net/get/vips-1.0.12.tgz?init=true" | ||
sha256 "c638250de6cad89d8648bff972af5224316ccb5b5b0a7c9201607709d5385282" | ||
head "https://github.com/libvips/php-vips-ext.git" | ||
license "MIT" | ||
|
||
bottle do | ||
root_url "https://ghcr.io/v2/shivammathur/extensions" | ||
end | ||
|
||
depends_on "vips" | ||
|
||
def install | ||
args = %W[ | ||
--with-vips=#{Formula["vips"].opt_prefix} | ||
] | ||
Dir.chdir "vips-#{version}" | ||
safe_phpize | ||
system "./configure", "--prefix=#{prefix}", phpconfig, *args | ||
system "make" | ||
prefix.install "modules/#{extension}.so" | ||
write_config_file | ||
add_include_files | ||
end | ||
end |