SHARE
TWEET

Untitled

a guest Dec 14th, 2016 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DESCRIPTION="Zopfli Compression Algorithm is a zlib (gzip, deflate) compatible compressor."
  2. SUMMARY="Z.C.A. is a compression library programmed in C"
  3. HOMEPAGE="https://github.com/google/zopfli"
  4. SOURCE_URI="$HOMEPAGE/archive/master.zip"
  5. CHECKSUM_SHA256="d0bc43d4b11f2b08569cce7376187d25ad17bc07193453ee9219877e0cb9cb0c"
  6. REVISION="1"
  7. STATUS_HAIKU="stable"
  8. DEPEND=""
  9. MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
  10. SOURCE_DIR=""
  11.  
  12. ARCHITECTURES="!x86_gcc2 x86 x86_64 arm ?ppc"
  13. SECONDARY_ARCHITECTURES="x86_gcc2 x86"
  14.  
  15. PROVIDES="
  16.     zopfli$secondaryArchSuffix = $portVersion
  17.     lib:zopfli$secondaryArchSuffix = $portVersion
  18.     "
  19. REQUIRES="
  20.     haiku$secondaryArchSuffix
  21.     "
  22.  
  23. PROVIDES_devel="
  24.     zopfli${secondaryArchSuffix}_devel = $portVersion
  25.     devel:zopfli${secondaryArchSuffix} = $portVersion
  26.     "
  27. REQUIRES_devel="
  28.     zopfli${secondaryArchSuffix} == $portVersion base
  29.     "
  30.  
  31. BUILD_REQUIRES="
  32.     haiku${secondaryArchSuffix}_devel
  33.     "
  34. BUILD_PREREQUIRES="
  35.     cmd:cmake
  36.     cmd:gcc$secondaryArchSuffix
  37.     cmd:grep
  38.     cmd:ld$secondaryArchSuffix
  39.     cmd:make
  40.     cmd:sed
  41.     "
  42.  
  43. BUILD()
  44. {
  45.     cd zopfli-master
  46.     sed -i 's/\-lm//' Makefile
  47.     make
  48. }
  49.  
  50. INSTALL()
  51. {
  52.     cd zopfli-master/src
  53.     cp -r zopfli $binDir
  54. }
  55.  
  56. LICENSE="Apache v2"
  57. COPYRIGHT="2011-2013 Google Inc."
  58.  
  59.  
  60.  
  61.  
  62. Building ...
  63. gcc src/zopfli/blocksplitter.c src/zopfli/cache.c src/zopfli/deflate.c src/zopfli/gzip_container.c src/zopfli/hash.c src/zopfli/katajainen.c src/zopfli/lz77.c src/zopfli/squeeze.c src/zopfli/tree.c src/zopfli/util.c src/zopfli/zlib_container.c src/zopfli/zopfli_lib.c src/zopfli/zopfli_bin.c -W -Wall -Wextra -ansi -pedantic  -O2 -Wno-unused-function -o zopfli
  64. Collecting files to be packaged ...
  65. cp: cannot create directory '/packages/zopfli_x86-999-1/.self/bin/x86': No such file or directory
  66. Command '['bash', '-c', '. /wrapper-script']' returned non-zero exit status 1
  67. keeping chroot folder /boot/home/haikuports/sys-libs/zopfli/work-x86-999 intact for inspection
  68. Error: Build has failed - stopping.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top