#!/bin/sh ## src2pkg script for: getgui ## ##### ------------Standard Package Variables------------------- # Most source code only needs these 4 variables set. # Set SRC_SUFFIX to ".tar.gz" ".tgz" ".tar.bz2" or ".tbz" BUILD="2" NAME="getgui" VERSION="1.3" SRC_SUFFIX=".tar.bz2" #####--------Common Overrides and Options---------------------- # PRE_FIX="" # EXTRA_CONFIGS="" # DOCLIST="" # GROUP_NAME="" #######----------------Processing------------------------------ # Get functions and read in configuration files source /usr/libexec/src2pkg/FUNCTIONS ; # This template calls each process individually so you can add # extra instructions between processes, or even leave out steps. pre_process ; find_source ; make_dirs ; unpack_source ; fix_source_perms ; # configure_source ; # compile_source ; # fake_install ; cd $SRC_DIR/src && make mkdir -p $PKG_DIR/usr/bin cp -a $SRC_DIR/bin/* $PKG_DIR/usr/bin mkdir -p $PKG_DIR/usr/man/man1 cp -a $SRC_DIR/man/mangg/*.1 $PKG_DIR/usr/man/man1 mkdir -p $PKG_DIR/usr/man/man3 cp -a $SRC_DIR/man/mangg/*.3 $PKG_DIR/usr/man/man3 mkdir -p $PKG_DIR/usr/doc/$NAME-$VERSION cp -a $SRC_DIR/man/html/*.html $PKG_DIR/usr/doc/$NAME-$VERSION fix_pkg_perms ; strip_bins ; create_docs ; compress_man_pages ; make_description ; make_doinst ; make_package ; post_process ; exit 0 ## See the Amigo PkgBuild documentation for help and examples.