Skip to content

Commit

Permalink
Add vld extension
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur authored and github-actions[bot] committed Mar 26, 2024
1 parent d4a115d commit 834b791
Show file tree
Hide file tree
Showing 10 changed files with 280 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Formula/vld@5.6.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# typed: false
# frozen_string_literal: true

require File.expand_path("../Abstract/abstract-php-extension", __dir__)

# Class for Vld Extension
class VldAT56 < AbstractPhpExtension
init
desc "Vld PHP extension"
homepage "https://github.com/derickr/vld"
url "https://github.com/derickr/vld/archive/0.14.1.tar.gz"
sha256 "7b14371bc9b6d3ba6c69c7712a6e83270a059c177fb83411a66dd08abc4d397f"
head "https://github.com/derickr/vld.git", branch: "master"
license "BSD-2-Clause"

bottle do
root_url "https://ghcr.io/v2/shivammathur/extensions"
end

def install
safe_phpize
system "./configure", "--prefix=#{prefix}", phpconfig, "--enable-vld"
system "make"
prefix.install "modules/#{extension}.so"
write_config_file
add_include_files
end
end
28 changes: 28 additions & 0 deletions Formula/vld@7.0.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# typed: false
# frozen_string_literal: true

require File.expand_path("../Abstract/abstract-php-extension", __dir__)

# Class for Vld Extension
class VldAT70 < AbstractPhpExtension
init
desc "Vld PHP extension"
homepage "https://github.com/derickr/vld"
url "https://github.com/derickr/vld/archive/0.18.0.tar.gz"
sha256 "b6cd6165014bd8c1ddd8b473fc2e232a722c88226a52368c32555cc9cbfa71ed"
head "https://github.com/derickr/vld.git", branch: "master"
license "BSD-2-Clause"

bottle do
root_url "https://ghcr.io/v2/shivammathur/extensions"
end

def install
safe_phpize
system "./configure", "--prefix=#{prefix}", phpconfig, "--enable-vld"
system "make"
prefix.install "modules/#{extension}.so"
write_config_file
add_include_files
end
end
28 changes: 28 additions & 0 deletions Formula/vld@7.1.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# typed: false
# frozen_string_literal: true

require File.expand_path("../Abstract/abstract-php-extension", __dir__)

# Class for Vld Extension
class VldAT71 < AbstractPhpExtension
init
desc "Vld PHP extension"
homepage "https://github.com/derickr/vld"
url "https://github.com/derickr/vld/archive/0.18.0.tar.gz"
sha256 "b6cd6165014bd8c1ddd8b473fc2e232a722c88226a52368c32555cc9cbfa71ed"
head "https://github.com/derickr/vld.git", branch: "master"
license "BSD-2-Clause"

bottle do
root_url "https://ghcr.io/v2/shivammathur/extensions"
end

def install
safe_phpize
system "./configure", "--prefix=#{prefix}", phpconfig, "--enable-vld"
system "make"
prefix.install "modules/#{extension}.so"
write_config_file
add_include_files
end
end
28 changes: 28 additions & 0 deletions Formula/vld@7.2.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# typed: false
# frozen_string_literal: true

require File.expand_path("../Abstract/abstract-php-extension", __dir__)

# Class for Vld Extension
class VldAT72 < AbstractPhpExtension
init
desc "Vld PHP extension"
homepage "https://github.com/derickr/vld"
url "https://github.com/derickr/vld/archive/0.18.0.tar.gz"
sha256 "b6cd6165014bd8c1ddd8b473fc2e232a722c88226a52368c32555cc9cbfa71ed"
head "https://github.com/derickr/vld.git", branch: "master"
license "BSD-2-Clause"

bottle do
root_url "https://ghcr.io/v2/shivammathur/extensions"
end

def install
safe_phpize
system "./configure", "--prefix=#{prefix}", phpconfig, "--enable-vld"
system "make"
prefix.install "modules/#{extension}.so"
write_config_file
add_include_files
end
end
28 changes: 28 additions & 0 deletions Formula/vld@7.3.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# typed: false
# frozen_string_literal: true

require File.expand_path("../Abstract/abstract-php-extension", __dir__)

# Class for Vld Extension
class VldAT73 < AbstractPhpExtension
init
desc "Vld PHP extension"
homepage "https://github.com/derickr/vld"
url "https://github.com/derickr/vld/archive/0.18.0.tar.gz"
sha256 "b6cd6165014bd8c1ddd8b473fc2e232a722c88226a52368c32555cc9cbfa71ed"
head "https://github.com/derickr/vld.git", branch: "master"
license "BSD-2-Clause"

bottle do
root_url "https://ghcr.io/v2/shivammathur/extensions"
end

def install
safe_phpize
system "./configure", "--prefix=#{prefix}", phpconfig, "--enable-vld"
system "make"
prefix.install "modules/#{extension}.so"
write_config_file
add_include_files
end
end
28 changes: 28 additions & 0 deletions Formula/vld@7.4.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# typed: false
# frozen_string_literal: true

require File.expand_path("../Abstract/abstract-php-extension", __dir__)

# Class for Vld Extension
class VldAT74 < AbstractPhpExtension
init
desc "Vld PHP extension"
homepage "https://github.com/derickr/vld"
url "https://github.com/derickr/vld/archive/0.18.0.tar.gz"
sha256 "b6cd6165014bd8c1ddd8b473fc2e232a722c88226a52368c32555cc9cbfa71ed"
head "https://github.com/derickr/vld.git", branch: "master"
license "BSD-2-Clause"

bottle do
root_url "https://ghcr.io/v2/shivammathur/extensions"
end

def install
safe_phpize
system "./configure", "--prefix=#{prefix}", phpconfig, "--enable-vld"
system "make"
prefix.install "modules/#{extension}.so"
write_config_file
add_include_files
end
end
28 changes: 28 additions & 0 deletions Formula/vld@8.0.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# typed: false
# frozen_string_literal: true

require File.expand_path("../Abstract/abstract-php-extension", __dir__)

# Class for Vld Extension
class VldAT80 < AbstractPhpExtension
init
desc "Vld PHP extension"
homepage "https://github.com/derickr/vld"
url "https://github.com/derickr/vld/archive/0.18.0.tar.gz"
sha256 "b6cd6165014bd8c1ddd8b473fc2e232a722c88226a52368c32555cc9cbfa71ed"
head "https://github.com/derickr/vld.git", branch: "master"
license "BSD-2-Clause"

bottle do
root_url "https://ghcr.io/v2/shivammathur/extensions"
end

def install
safe_phpize
system "./configure", "--prefix=#{prefix}", phpconfig, "--enable-vld"
system "make"
prefix.install "modules/#{extension}.so"
write_config_file
add_include_files
end
end
28 changes: 28 additions & 0 deletions Formula/vld@8.1.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# typed: false
# frozen_string_literal: true

require File.expand_path("../Abstract/abstract-php-extension", __dir__)

# Class for Vld Extension
class VldAT81 < AbstractPhpExtension
init
desc "Vld PHP extension"
homepage "https://github.com/derickr/vld"
url "https://github.com/derickr/vld/archive/0.18.0.tar.gz"
sha256 "b6cd6165014bd8c1ddd8b473fc2e232a722c88226a52368c32555cc9cbfa71ed"
head "https://github.com/derickr/vld.git", branch: "master"
license "BSD-2-Clause"

bottle do
root_url "https://ghcr.io/v2/shivammathur/extensions"
end

def install
safe_phpize
system "./configure", "--prefix=#{prefix}", phpconfig, "--enable-vld"
system "make"
prefix.install "modules/#{extension}.so"
write_config_file
add_include_files
end
end
28 changes: 28 additions & 0 deletions Formula/vld@8.2.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# typed: false
# frozen_string_literal: true

require File.expand_path("../Abstract/abstract-php-extension", __dir__)

# Class for Vld Extension
class VldAT82 < AbstractPhpExtension
init
desc "Vld PHP extension"
homepage "https://github.com/derickr/vld"
url "https://github.com/derickr/vld/archive/0.18.0.tar.gz"
sha256 "b6cd6165014bd8c1ddd8b473fc2e232a722c88226a52368c32555cc9cbfa71ed"
head "https://github.com/derickr/vld.git", branch: "master"
license "BSD-2-Clause"

bottle do
root_url "https://ghcr.io/v2/shivammathur/extensions"
end

def install
safe_phpize
system "./configure", "--prefix=#{prefix}", phpconfig, "--enable-vld"
system "make"
prefix.install "modules/#{extension}.so"
write_config_file
add_include_files
end
end
28 changes: 28 additions & 0 deletions Formula/vld@8.3.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# typed: false
# frozen_string_literal: true

require File.expand_path("../Abstract/abstract-php-extension", __dir__)

# Class for Vld Extension
class VldAT83 < AbstractPhpExtension
init
desc "Vld PHP extension"
homepage "https://github.com/derickr/vld"
url "https://github.com/derickr/vld/archive/0.18.0.tar.gz"
sha256 "b6cd6165014bd8c1ddd8b473fc2e232a722c88226a52368c32555cc9cbfa71ed"
head "https://github.com/derickr/vld.git", branch: "master"
license "BSD-2-Clause"

bottle do
root_url "https://ghcr.io/v2/shivammathur/extensions"
end

def install
safe_phpize
system "./configure", "--prefix=#{prefix}", phpconfig, "--enable-vld"
system "make"
prefix.install "modules/#{extension}.so"
write_config_file
add_include_files
end
end

0 comments on commit 834b791

Please sign in to comment.