diff options
author | Tony Theodore <tonyt@logyst.com> | 2014-04-10 17:56:12 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2014-04-10 17:56:12 (GMT) |
commit | be851a57019d46dbfd4ee9a36253f5e799e17d5e (patch) | |
tree | 381e5a371ddf2ed7c69045434c812847ee2f5bdb | |
parent | b761bc9bcb4ab533f2978903fb53299b7050081f (diff) | |
download | mxe-be851a57019d46dbfd4ee9a36253f5e799e17d5e.zip mxe-be851a57019d46dbfd4ee9a36253f5e799e17d5e.tar.gz mxe-be851a57019d46dbfd4ee9a36253f5e799e17d5e.tar.bz2 |
update package libarchive
-rw-r--r-- | index.html | 2 | ||||
-rw-r--r-- | src/libarchive-test.c | 4 | ||||
-rw-r--r-- | src/libarchive.mk | 12 |
3 files changed, 10 insertions, 8 deletions
@@ -1471,7 +1471,7 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre> </tr> <tr> <td class="package">libarchive</td> - <td class="website"><a href="http://code.google.com/p/libarchive/">Libarchive</a></td> + <td class="website"><a href="http://www.libarchive.org/">Libarchive</a></td> </tr> <tr> <td class="package">libass</td> diff --git a/src/libarchive-test.c b/src/libarchive-test.c index dafd4fe..daeca81 100644 --- a/src/libarchive-test.c +++ b/src/libarchive-test.c @@ -13,9 +13,9 @@ int main(int argc, char *argv[]) (void)argv; tgz = archive_write_new(); - archive_write_set_compression_gzip(tgz); + archive_write_set_options(tgz, "gzip=9"); archive_write_set_format_ustar(tgz); - archive_write_finish(tgz); + archive_write_free(tgz); return 0; } diff --git a/src/libarchive.mk b/src/libarchive.mk index c1752cd..33491d6 100644 --- a/src/libarchive.mk +++ b/src/libarchive.mk @@ -3,17 +3,18 @@ PKG := libarchive $(PKG)_IGNORE := -$(PKG)_VERSION := 3.0.3 -$(PKG)_CHECKSUM := b774e2675e5c1abafbd4d667402e8c3e72313944 +$(PKG)_VERSION := 3.1.2 +$(PKG)_CHECKSUM := 6a991777ecb0f890be931cec4aec856d1a195489 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz -$(PKG)_URL := http://libarchive.googlecode.com/files/$($(PKG)_FILE) +$(PKG)_URL := http://www.libarchive.org/downloads/$($(PKG)_FILE) $(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' | \ + $(WGET) -q -O- 'http://www.libarchive.org/downloads/' | \ $(SED) -n 's,.*libarchive-\([0-9][^<]*\)\.tar.*,\1,p' | \ - head -1 + $(SORT) -V | \ + tail -1 endef define $(PKG)_BUILD @@ -25,6 +26,7 @@ define $(PKG)_BUILD --disable-shared \ --disable-bsdtar \ --disable-bsdcpio \ + --disable-bsdcat \ XML2_CONFIG='$(PREFIX)/$(TARGET)'/bin/xml2-config $(MAKE) -C '$(1)' -j '$(JOBS)' man_MANS= $(MAKE) -C '$(1)' -j 1 install man_MANS= |