mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
info-zip.org/zip (#2685)
* info-zip.org/zip * without --jobs * CC * CC * patch * without configure
This commit is contained in:
parent
a077e18abd
commit
7c1b5f0a9b
4 changed files with 45 additions and 0 deletions
42
projects/info-zip.org/zip/package.yml
Normal file
42
projects/info-zip.org/zip/package.yml
Normal file
|
@ -0,0 +1,42 @@
|
|||
distributable:
|
||||
url: http://downloads.sourceforge.net/project/infozip/Zip%203.x%20%28latest%29/{{version.marketing}}/zip{{version.major}}{{version.minor}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
- 3.0
|
||||
|
||||
dependencies:
|
||||
sourceware.org/bzip2: '*'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
gnu.org/gcc: '*'
|
||||
tea.xyz/gx/make: '*'
|
||||
gnu.org/wget: '*'
|
||||
gnu.org/patch: '*'
|
||||
script:
|
||||
- run: wget https://deb.debian.org/debian/pool/main/z/zip/zip_3.0-11.debian.tar.xz && tar xf zip_3.0-11.debian.tar.xz
|
||||
working-directory: patch
|
||||
- patch -p1 < patch/debian/patches/01-typo-it-is-transferring-not-transfering
|
||||
- patch -p1 < patch/debian/patches/02-typo-it-is-privileges-not-priviliges
|
||||
- patch -p1 < patch/debian/patches/03-manpages-in-section-1-not-in-section-1l
|
||||
- patch -p1 < patch/debian/patches/04-do-not-set-unwanted-cflags
|
||||
- patch -p1 < patch/debian/patches/05-typo-it-is-preceding-not-preceeding
|
||||
- patch -p1 < patch/debian/patches/06-stack-markings-to-avoid-executable-stack
|
||||
- patch -p1 < patch/debian/patches/07-fclose-in-file-not-fclose-x
|
||||
- patch -p1 < patch/debian/patches/08-hardening-build-fix-1
|
||||
- patch -p1 < patch/debian/patches/09-hardening-build-fix-2
|
||||
- patch -p1 < patch/debian/patches/10-remove-build-date
|
||||
- make -f unix/Makefile CC={{deps.gnu.org/gcc.prefix}}/bin/gcc generic
|
||||
- make -f unix/Makefile BINDIR={{prefix}}/bin MANDIR={{prefix}}/man/man1 install
|
||||
|
||||
provides:
|
||||
- bin/zip
|
||||
- bin/zipcloak
|
||||
- bin/zipnote
|
||||
- bin/zipsplit
|
||||
|
||||
test:
|
||||
- zip --version | grep "Zip {{version.marketing}}"
|
||||
- zip test.zip test.1.txt test.2.txt test.3.txt
|
||||
- ls | grep 'test.zip'
|
1
projects/info-zip.org/zip/test.1.txt
Normal file
1
projects/info-zip.org/zip/test.1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Hello!
|
1
projects/info-zip.org/zip/test.2.txt
Normal file
1
projects/info-zip.org/zip/test.2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Bonjour!
|
1
projects/info-zip.org/zip/test.3.txt
Normal file
1
projects/info-zip.org/zip/test.3.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Moien!
|
Loading…
Reference in a new issue