Files
chromebrew/packages/libmicrohttpd.rb
Satadru Pramanik 08ba24fef7 docker + podman + distrobox DEPENDENCY ONLY rebuilds & updates for x86_64 and armv7l (#7824)
* docker rebuilds & updates for x86_64 and armv7l

* remove go dep

* add working i686 go_md2man binary

* add all possible i686 builds

* add binary, update packages.yaml

* suggested changes

* suggested changes

* add proper containerd binaries

* update and rebuild containers_common

* add catatonit

* add podman

* add distrobox

* add conmon

* fix deps

* rebuild podman

* rebuild lvm2, adjust podman build parameters

* add binaries

* fixup containers_common

* revamp containers_common again

* add policy.json symlink to containers_common

* adjust podman

* rebuild libbpf

* update defaults in containers_common

* fix tz

* Add logic for creating local container policy file

* move local container policy file logic to containers_common

* adjust logic

* adjust logic

* update logic

* adjust logic

* adjust logic

* adjust logic

* adjust logic

* update podman paths

* rebuild podman

* podman rebuild

* rebuilds

* fix hashes

* cni rebuild

* add runc dep to podman

* lint

* remove docker, podman, and distrobox

* remove removed packages from packages.yaml
2023-01-10 18:19:57 -06:00

38 lines
1.7 KiB
Ruby

require 'package'
class Libmicrohttpd < Package
description 'GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application.'
homepage 'https://www.gnu.org/software/libmicrohttpd/'
version '0.9.75'
license 'LGPL-2.1'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-0.9.75.tar.gz'
source_sha256 '9278907a6f571b391aab9644fd646a5108ed97311ec66f6359cebbedb0a4e3bb'
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmicrohttpd/0.9.75_armv7l/libmicrohttpd-0.9.75-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmicrohttpd/0.9.75_armv7l/libmicrohttpd-0.9.75-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmicrohttpd/0.9.75_i686/libmicrohttpd-0.9.75-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libmicrohttpd/0.9.75_x86_64/libmicrohttpd-0.9.75-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: '206d5948a84b2c884464c974764806441076c64db7ce6c887cc4af3f33683950',
armv7l: '206d5948a84b2c884464c974764806441076c64db7ce6c887cc4af3f33683950',
i686: 'beaaf1d4036354f8cf5b38e157816f151777c6a9fdfad6b1c88b9c0a3dd61303',
x86_64: 'f9d2926975d54adbf19858c8b2a2cb9b6e20368301a24aa168f7a10ec3228717'
})
depends_on 'diffutils' => :build
depends_on 'glibc' # R
depends_on 'gnutls' # R
def self.build
system "./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end