Import zopfli-1.0.0.
Zopfli is a compression algorithm programmed in C to perform very good, but slow, deflate or zlib compression. This program can only compress, not decompress. Existing zlib or deflate libraries can decompress the data. ok rfreeman@
This commit is contained in:
parent
c23b99d0eb
commit
0158a320be
31
archivers/zopfli/Makefile
Normal file
31
archivers/zopfli/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2013/07/07 17:57:44 bentley Exp $
|
||||
|
||||
COMMENT = deflate-compatible compression format
|
||||
|
||||
DISTNAME = zopfli-1.0.0
|
||||
|
||||
CATEGORIES = archivers
|
||||
|
||||
HOMEPAGE = https://code.google.com/p/zopfli/
|
||||
|
||||
# Apache 2.0
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += c m
|
||||
|
||||
MASTER_SITES = https://zopfli.googlecode.com/files/
|
||||
EXTRACT_SUFX = .zip
|
||||
|
||||
MAKE_FLAGS = CC="${CC}" \
|
||||
CFLAGS="${CFLAGS}"
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
MAKE_FILE = makefile
|
||||
|
||||
ALL_TARGET = make
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/zopfli ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
2
archivers/zopfli/distinfo
Normal file
2
archivers/zopfli/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (zopfli-1.0.0.zip) = 4g1ztWYgKF5szltRDY5dpoNagZQOSM3zWmkJDmZvOts=
|
||||
SIZE (zopfli-1.0.0.zip) = 57873
|
10
archivers/zopfli/patches/patch-makefile
Normal file
10
archivers/zopfli/patches/patch-makefile
Normal file
@ -0,0 +1,10 @@
|
||||
$OpenBSD: patch-makefile,v 1.1.1.1 2013/07/07 17:57:44 bentley Exp $
|
||||
--- makefile.orig Tue May 14 01:04:47 2013
|
||||
+++ makefile Tue May 14 01:05:05 2013
|
||||
@@ -1,5 +1,5 @@
|
||||
make:
|
||||
- gcc src/zopfli/*.c -O2 -W -Wall -Wextra -ansi -pedantic -lm -o zopfli
|
||||
+ ${CC} ${CFLAGS} src/zopfli/*.c -W -Wall -Wextra -ansi -pedantic -lm -o zopfli
|
||||
|
||||
debug:
|
||||
gcc src/zopfli/*.c -g3 -lm -o zopfli
|
5
archivers/zopfli/pkg/DESCR
Normal file
5
archivers/zopfli/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
Zopfli is a compression algorithm programmed in C to perform very good,
|
||||
but slow, deflate or zlib compression.
|
||||
|
||||
This program can only compress, not decompress. Existing zlib or deflate
|
||||
libraries can decompress the data.
|
2
archivers/zopfli/pkg/PLIST
Normal file
2
archivers/zopfli/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/07/07 17:57:44 bentley Exp $
|
||||
@bin bin/zopfli
|
Loading…
Reference in New Issue
Block a user