#!/bin/sh ## src2pkg script for: exepak ##--Standard Variables-- BUILD="1" NAME="exepak" VERSION="1.1" SRC_SUFFIX=".tar.bz2" ##--Extras and Options-- # PRE_FIX="" # EXTRA_CONFIGS="" ##--Processing Get functions, defines, configs source /usr/libexec/src2pkg/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/lzo-1.01 ; ./configure ; make cd $SRC_DIR/stub ; make stub STUBSIZE=`ls -l $SRC_DIR/stub/exepak_stub |cut -f 6 -d' '` ; echo "#define EXEPAK_STUBSIZE $STUBSIZE" > $SRC_DIR/stub/stubsize.h ; make clean ; make ; make stubencode ; cd $SRC_DIR/src ; make ; mkdir -p $PKG_DIR/usr/bin cp $SRC_DIR/src/exepak $PKG_DIR/usr/bin fix_pkg_perms ; strip_bins ; # create_docs ; mkdir -p $PKG_DIR/usr/doc/$NAME-$VERSION cp $SRC_DIR/EXEPAK.DOC $PKG_DIR/usr/doc/$NAME-$VERSION/README cp $SRC_DIR/*.lsm $PKG_DIR/usr/doc/$NAME-$VERSION cp $SRC_DIR/ChangeLog $PKG_DIR/usr/doc/$NAME-$VERSION compress_man_pages ; make_description ; make_doinst ; make_package ; post_process ; exit 0 # src2pkg - Copyright 2005-2007 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=""