#!/bin/sh ## PkgBuild script for: p7zip ##--Standard Variables-- BUILD="1" NAME="p7zip" VERSION="4.30" SRC_SUFFIX=".tar.bz2" ##--Extras and Options-- # PRE_FIX="" # EXTRA_CONFIGS="" ##--Processing Get functions, defines, configs source /usr/libexec/pkgbuild/FUNCTIONS ; ## do_all_processes can substitute these 16 steps: pre_process ; find_source ; make_dirs ; unpack_source ; fix_source_perms ; # configure_source ; # compile_source ; # fake_install ; cd $SRC_DIR && make all2 mkdir -p $PKG_DIR/usr/bin cp $SRC_DIR/bin/7z $SRC_DIR/bin/7za $SRC_DIR/bin/7zCon.sfx $PKG_DIR/usr/bin mkdir -p $PKG_DIR/usr/man/man1 cp $SRC_DIR/man1/* $PKG_DIR/usr/man/man1 cp $CWD/7zCon.sfx.1 $PKG_DIR/usr/man/man1 mkdir -p $PKG_DIR/usr/lib/p7zip cp -a $SRC_DIR/bin/Codecs $SRC_DIR/bin/Formats $PKG_DIR/usr/lib/p7zip fix_pkg_perms ; strip_bins ; create_docs ; cp -a $SRC_DIR/DOCS/* $PKG_DIR/usr/doc/$NAME-$VERSION/ compress_man_pages ; make_description ; make_doinst ; make_package ; post_process ; exit 0 # Amigo PkgBuild - Copyright 2005-2006 Gilbert Ashley ## See the documentation for more help and examples. Below are some of # the most common Extras and Options for easy cut-and-paste use. # CONFIG_COMMAND=""