mirror of https://git.wownero.com/dsc/mxe.git
update package libarchive
This commit is contained in:
parent
feab1e1f64
commit
1bc18a59bd
|
@ -0,0 +1,24 @@
|
|||
This file is part of mingw-cross-env.
|
||||
See doc/index.html for further information.
|
||||
|
||||
Contains ad hoc patches for cross building.
|
||||
|
||||
From 47b80beedcb3d8e6296e2d0b970bb0c82abb4424 Mon Sep 17 00:00:00 2001
|
||||
From: mingw-cross-env
|
||||
Date: Tue, 14 Feb 2012 12:40:24 +0100
|
||||
Subject: [PATCH] fix pkg-config
|
||||
|
||||
|
||||
diff --git a/build/pkgconfig/libarchive.pc.in b/build/pkgconfig/libarchive.pc.in
|
||||
index 95d7159..8288f31 100644
|
||||
--- a/build/pkgconfig/libarchive.pc.in
|
||||
+++ b/build/pkgconfig/libarchive.pc.in
|
||||
@@ -8,4 +8,4 @@ Description: library that can create and read several streaming archive formats
|
||||
Version: @VERSION@
|
||||
Cflags: -I${includedir}
|
||||
Libs: -L${libdir} -larchive
|
||||
-Libs.private: @LIBS@
|
||||
+Libs.private: @LIBS@ -liconv
|
||||
--
|
||||
1.7.8.3
|
||||
|
|
@ -4,13 +4,13 @@
|
|||
# Libarchive
|
||||
PKG := libarchive
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 2.8.5
|
||||
$(PKG)_CHECKSUM := e48a3b50de84b1d747f5af9ca5ba90eb6d3a4a78
|
||||
$(PKG)_VERSION := 3.0.3
|
||||
$(PKG)_CHECKSUM := b774e2675e5c1abafbd4d667402e8c3e72313944
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_WEBSITE := http://code.google.com/p/libarchive/
|
||||
$(PKG)_URL := http://libarchive.googlecode.com/files/$($(PKG)_FILE)
|
||||
$(PKG)_DEPS := gcc bzip2 libxml2 openssl xz zlib
|
||||
$(PKG)_DEPS := gcc bzip2 libiconv libxml2 openssl xz zlib
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
wget -q -O- 'http://code.google.com/p/libarchive/downloads/list?sort=-uploaded' | \
|
||||
|
@ -34,5 +34,5 @@ define $(PKG)_BUILD
|
|||
'$(TARGET)-gcc' \
|
||||
-W -Wall -Werror -ansi -pedantic \
|
||||
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-libarchive.exe' \
|
||||
-larchive -lz
|
||||
`'$(TARGET)-pkg-config' --libs-only-l libarchive`
|
||||
endef
|
||||
|
|
Loading…
Reference in New Issue