#!/bin/bash ## PkgBuild script for: shc ## Auto-generated by 'src2pkg' BUILD='1' NAME='shc' VERSION='3.8.3' SRC_SUFFIX='.tar.bz2' STD_FLAGS='-O2 -march=i486 -mtune=i686' PRE_FIX='/usr' EXTRA_CONFIGS='' DOCLIST="CHANGES Copying shc.README shc.html" # Get the functions and 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 shc mkdir -p $PKG_DIR/usr/bin mkdir -p $PKG_DIR/usr/man/man1 cp -a $SRC_DIR/shc $PKG_DIR/usr/bin cp -a $SRC_DIR/shc.1 $PKG_DIR/usr/man/man1 fix_pkg_perms strip_bins create_docs cp -a $SRC_DIR/match $SRC_DIR/test.bash $SRC_DIR/test.csh $PKG_DIR/usr/doc/$NAME-$VERSION compress_man_pages make_description make_doinst make_package post_process # Amigo PkgBuild and src2pkg - 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. # EXTRA_CONFIGS='' PRE_FIX='' DOCLIST='' INSTALL_RULE='' CONFIG_SUBDIR=''