mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-06 22:24:12 -05:00
* Update acpica homepage * Update aide homepage * Update aliyun_cli homepage * Update alpine homepage * Update anagram source_url * Update ant homepage * Update apktool homepage * Update appres homepage * Update appstream homepage * Update apr_iconv homepage * Update apr_util homepage * Update armadillo homepage * Update asciidoc homepage * Update at_spi2_core homepage * Update avahi homepage * Update aview homepage * Update babl homepage * Update balena_etcher homepage * Update banner homepage * Update bashdb homepage * Update bdftopcf homepage * Update bind homepage * Update bitmap homepage * Update bitpocket homepage * Update bluefish homepage * Update bmon homepage * Update brackets homepage * Update broadway homepage * Update broot homepage * Update byobu homepage * Update c_ares homepage * Update calcurse homepage * Update ccache homepage * Update cf homepage * Update chrome homepage * Update chrpath homepage * Update ck4up homepage * Update ckermit homepage
41 lines
1.5 KiB
Ruby
41 lines
1.5 KiB
Ruby
require 'package'
|
|
|
|
class Apr_iconv < Package
|
|
description 'a portable implementation of the iconv() library'
|
|
homepage 'https://apr.apache.org/'
|
|
version '1.2.2'
|
|
license 'Apache-2.0'
|
|
compatibility 'all'
|
|
source_url 'https://dlcdn.apache.org/apr/apr-iconv-1.2.2.tar.bz2'
|
|
source_sha256 '7d454e0fe32f2385f671000e3b755839d16aabd7291e3947c973c90377c35313'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: '6ec314d1d6143a855e59d5a3b76db311e3ba60b980b98be3d639c39e74949fed',
|
|
armv7l: '6ec314d1d6143a855e59d5a3b76db311e3ba60b980b98be3d639c39e74949fed',
|
|
i686: 'ef8a4e543d11b010edae76ec4ea4d06be68b41a3d4e31bc8764969f2d216d8e5',
|
|
x86_64: 'd3abcd64112eb46aef6bb090409471c9fbaf675cd258aff0220d696fed9b6771'
|
|
})
|
|
|
|
depends_on 'apr'
|
|
depends_on 'libtool'
|
|
|
|
def self.build
|
|
system "./configure \
|
|
--prefix=#{CREW_PREFIX} \
|
|
--libdir=#{CREW_LIB_PREFIX} \
|
|
--with-apr=#{CREW_PREFIX}"
|
|
# These sed commands can be removed and the package converted to buildsystems once this issue is resolved:
|
|
# https://bz.apache.org/bugzilla/show_bug.cgi?id=68516
|
|
system "sed -i 's,/usr/local/lib,#{CREW_LIB_PREFIX},g' Makefile"
|
|
system "sed -i 's,/usr/local/lib,#{CREW_LIB_PREFIX},g' ccs/Makefile"
|
|
system "sed -i 's,/usr/local/lib,#{CREW_LIB_PREFIX},g' ces/Makefile"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
system "libtool --mode=finish #{CREW_DEST_LIB_PREFIX}/iconv"
|
|
end
|
|
end
|