diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-07-24 13:49:52 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-28 01:03:55 +0200 |
commit | 831eb5589dc9d1ef397f27c9c4e402e82f8bda57 (patch) | |
tree | 61ebc441ce8c695e02d37c9fb4bab5c6b7656f1c | |
parent | 7886e11530e87107036cd16c1c50a6e34fa84d03 (diff) | |
download | aports-831eb5589dc9d1ef397f27c9c4e402e82f8bda57.tar.bz2 aports-831eb5589dc9d1ef397f27c9c4e402e82f8bda57.tar.xz |
main/unzip: add cross-compilation support and fix URL
-rw-r--r-- | main/unzip/APKBUILD | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/main/unzip/APKBUILD b/main/unzip/APKBUILD index 909e337f38..81a8f80a6d 100644 --- a/main/unzip/APKBUILD +++ b/main/unzip/APKBUILD @@ -11,7 +11,7 @@ depends="" makedepends="" subpackages="$pkgname-doc" # normally ftp://ftp.info-zip.org/pub/infozip/src/${pkgname}60.zip -source="http://distfiles.alpinelinux.org/distfiles/${pkgname}60.zip +source="https://dev.alpinelinux.org/archive/unzip/${pkgname}60.tgz 10-unzip-handle-pkware-verify.patch 20-unzip-uidgid-fix.patch unzip-6.0-heap-overflow-infloop.patch @@ -21,6 +21,7 @@ builddir="$srcdir"/${pkgname}60 build() { cd "$builddir" make -f unix/Makefile \ + CC="${CHOST}-gcc" \ LOCAL_ZIP="${CFLAGS} ${CPPFLAGS}" \ prefix=/usr generic || return 1 } @@ -34,15 +35,7 @@ package() { "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } -md5sums="85da5203f01ab0b9403efef3b9bb4010 unzip60.zip -b860a1557b48b2c3fa52541f9260ed72 10-unzip-handle-pkware-verify.patch -3de9dee957cb83615cdcb165375d00bd 20-unzip-uidgid-fix.patch -4ff9673cf8337e80220e46c7eb95ac61 unzip-6.0-heap-overflow-infloop.patch" -sha256sums="2bc3e70d412447595ac3bed58c1c1fdae289d9a652e55fd0eaadddfe111aa9e4 unzip60.zip -6829ce345b66d081cb1b8b5be37f092836fbcb71819594e45218fc03d8e80754 10-unzip-handle-pkware-verify.patch -3650b53a49742d7ffb2c7d5db2ef1cdeaf3d34d21daa976dc7024ceb605a9dee 20-unzip-uidgid-fix.patch -1a12fe030bb1127f54362c7023995d4b01528ef4f2d068497d390877d15aafea unzip-6.0-heap-overflow-infloop.patch" -sha512sums="4a455d45b2c33bc28cab74b82d13f2f1bc5f4a2c45de125345181d2e712079727e825d25e5b7765f9f9c16b7746cd5342897dc8502cb55b8a9f2329b138a1614 unzip60.zip +sha512sums="0694e403ebc57b37218e00ec1a406cae5cc9c5b52b6798e0d4590840b6cdbf9ddc0d9471f67af783e960f8fa2e620394d51384257dca23d06bcd90224a80ce5d unzip60.tgz 9d2914f22fb0075a2b6f72825c235f46eafd8d47b6fb6fcc8303fc69336e256b15923c002d2615bb6af733344c2315e4a8504d77bae301e10c11d4736faa2c81 10-unzip-handle-pkware-verify.patch 57699582e9056af0817dcb67f8db67e6a1ff8208c137fbebcf559429e5f12b471b75d7e1ef938e5bbb5416074a51ac7342e4ce8057f4bbdcb0bf079b8d7832af 20-unzip-uidgid-fix.patch b1e3fac6a787828efaaef8ec7cc52e1573aea27a6f29830af37ec4ba8bcd2a6488c953ab10eee0561c78e82c7401833ef172bebee793405d93632ce788756301 unzip-6.0-heap-overflow-infloop.patch" |