Hi.

I've come up with packaging for the newest p7zip release (attached).  It
appears to work for all of our supported platforms.

I'd like to add this to Fink, so please let me know within 72 hours if
there are any problems.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/2012/02/21/got-job/
Package: p7zip
Version: 9.20.1
Revision: 1
GCC: 4.0
Description: File archiver with highest compression ratio
License: GPL/LGPL
Maintainer: Todai Fink Team <f...@sodan.ecc.u-tokyo.ac.jp>

Source: mirror:sourceforge:%n/%n_%v_src_all.tar.bz2
Source-MD5: bd6caaea567dc0d995c990c5cc883c89
SourceDirectory: %n_%v

PatchScript: <<
  #!/bin/sh -ev
  /usr/bin/sed -i.bak '9s|${DEST_HOME}|%i|' install.sh
  case %m in
        "powerpc")
                makefile=makefile.macosx_32bits_ppc ;;
        "i386")
                makefile=makefile.macosx_32bits ;;
        "x86_64")
                makefile=makefile.macosx_64bits ;;
        *)
                printf "Architecture not resolved." 
                exit 2 ;;
  esac
  /bin/cp -f $makefile makefile.machine
<<

CompileScript: /usr/bin/make all2
InstallScript: <<
  /usr/bin/make install DEST_BIN=%i/bin DEST_SHARE=%i/lib/%n 
DEST_MAN=%i/share/man DEST_SHARE_DOC=%i/share/doc/%n
  /usr/bin/sed -i.bak -e "2s|%i|%p|" %i/bin/7z
  /usr/bin/sed -i.bak -e "2s|%i|%p|" %i/bin/7za
  /bin/mv %i/bin/7z.bak %i/bin/7za.bak .
<<

Homepage: http://p7zip.sourceforge.net/
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to