mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
19 lines
367 B
Ruby
19 lines
367 B
Ruby
require 'package'
|
|
Package.load_package("#{__dir__}/curl.rb")
|
|
|
|
class Libcurl < Package
|
|
description Curl.description
|
|
homepage Curl.homepage
|
|
version Curl.version
|
|
license Curl.license
|
|
compatibility Curl.compatibility
|
|
|
|
is_fake
|
|
|
|
depends_on 'curl'
|
|
|
|
def self.postinstall
|
|
system 'crew reinstall curl' unless File.file?("#{CREW_PREFIX}/bin/curl")
|
|
end
|
|
end
|