mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
27 lines
582 B
Bash
27 lines
582 B
Bash
DESCRIPTION="Zopfli Compression Algorithm is a zlib (gzip, deflate) compatible compressor."
|
|
HOMEPAGE="http://code.google.com/p/zopfli"
|
|
SOURCE_URI="git+https://code.google.com/p/zopfli/"
|
|
#CHECKSUM_MD5="abc123"
|
|
REVISION="1"
|
|
STATUS_HAIKU="stable"
|
|
DEPEND=""
|
|
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
|
|
|
|
BUILD()
|
|
{
|
|
cd zopfli-999
|
|
sed -i 's/\-lm//' makefile
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd zopfli-999
|
|
BINDIR=${DESTDIR}/`finddir B_COMMON_BIN_DIRECTORY`
|
|
mkdir -p ${BINDIR}
|
|
cp -r zopfli ${BINDIR}/zopfli
|
|
}
|
|
|
|
LICENSE="Apache v2"
|
|
COPYRIGHT="2011-2013 Google Inc."
|