#!/bin/sh ## Advanced.src2pkg script for: hwsetup ## ## src2pkg-0.9 - Gilbert Ashley ## ##### ------------Standard Package Variables------------------- # Most source code only needs these 4 variables set. # Set SRC_SUFFIX to ".tar.gz" ".tgz" ".tar.bz2" or ".tbz" BUILD="1" NAME="hwsetup" VERSION="2.0" 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/libpci-2.1.11 && ./configure 1> /dev/null && make 1> /dev/null cd $SRC_DIR && make mkdir -p $PKG_DIR$PRE_FIX/sbin cp -a $SRC_DIR/hwsetup $PKG_DIR$PRE_FIX/sbin chown -R root.root $PKG_DIR$PRE_FIX/sbin chmod 755 $PKG_DIR$PRE_FIX/sbin/hwsetup fix_pkg_perms strip_bins create_docs compress_man_pages make_description make_doinst make_package post_process exit 0 ## See the src2pkg documentation for help and examples.