Commit 51bc6d98 authored by Casey Strouse's avatar Casey Strouse Committed by GitHub

Merge pull request #1412 from uberhacker/update-apriconv-package

Update apriconv from 1.2.1-1 to 1.2.2
parents 2c4f5b59 9f77e913
......@@ -3,9 +3,9 @@ require 'package'
class Apriconv < Package
description 'a portable implementation of the iconv() library'
homepage 'http://apr.apache.org/'
version '1.2.1-1'
source_url 'http://apache.claz.org/apr/apr-iconv-1.2.1.tar.bz2'
source_sha256 'c46c919bc2a36a705f91f4dea444b18a83236eef97a417528a988113b3a7e46e'
version '1.2.2'
source_url 'https://apache.claz.org/apr/apr-iconv-1.2.2.tar.bz2'
source_sha256 '7d454e0fe32f2385f671000e3b755839d16aabd7291e3947c973c90377c35313'
binary_url ({
})
......@@ -13,18 +13,21 @@ class Apriconv < Package
})
depends_on 'apr'
depends_on 'httpd'
depends_on 'libtool'
def self.build
system "./configure \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \
--with-apr=#{CREW_PREFIX}"
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_PREFIX}/lib/iconv"
system "libtool --mode=finish #{CREW_DEST_LIB_PREFIX}/iconv"
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