Commit 585e941a authored by Ed Reel's avatar Ed Reel

Add apriconv prefix directories

parent 229babe4
...@@ -3,35 +3,28 @@ require 'package' ...@@ -3,35 +3,28 @@ require 'package'
class Apriconv < Package class Apriconv < Package
description 'a portable implementation of the iconv() library' description 'a portable implementation of the iconv() library'
homepage 'http://apr.apache.org/' homepage 'http://apr.apache.org/'
version '1.2.1' version '1.2.1-1'
source_url 'http://apache.claz.org/apr/apr-iconv-1.2.1.tar.bz2' source_url 'http://apache.claz.org/apr/apr-iconv-1.2.1.tar.bz2'
source_sha256 'c46c919bc2a36a705f91f4dea444b18a83236eef97a417528a988113b3a7e46e' source_sha256 'c46c919bc2a36a705f91f4dea444b18a83236eef97a417528a988113b3a7e46e'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/apriconv-1.2.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/apriconv-1.2.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/apriconv-1.2.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/apriconv-1.2.1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'e9925a67c3f0e1280acf049730a39af4fe7c003835f07fe2e39085d18602e829',
armv7l: 'e9925a67c3f0e1280acf049730a39af4fe7c003835f07fe2e39085d18602e829',
i686: 'c3c5809a328a2caab28011f513315c638b3cd8582aaf509e726e6621d7af7132',
x86_64: '4317c04f0c4b8a44e6a6343077f9e46180d6a32ddc14ac437d69fb35a96b32b0',
}) })
depends_on 'apr' depends_on 'apr'
depends_on 'httpd'
depends_on 'libtool' depends_on 'libtool'
def self.build def self.build
system './configure \ system "./configure \
--prefix=/usr/local \ --prefix=#{CREW_PREFIX} \
--with-apr=/usr/local' --with-apr=#{CREW_PREFIX}"
system 'make' system "make"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "libtool --mode=finish #{CREW_DEST_DIR}/usr/local/lib/iconv" system "libtool --mode=finish #{CREW_DEST_PREFIX}/lib/iconv"
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment