#!/bin/bash ## src2pkg script for: fbv ## Auto-generated by src2pkg-1.9.2 ## src2pkg Copyright 2005-2008 Gilbert Ashley SOURCE_NAME='fbv-1.0b.tar.bz2' NAME='fbv' VERSION='1.0b' ARCH='i486' BUILD='1' PRE_FIX='usr' # Any extra options go here EXTRA_CONFIGS='--mandir=/usr/man' # STD_FLAGS='-O2 -march=i486 -mtune=i686' PATCHLIST='./fbv-1.0b.diff ./fbv-1.0b-24bpp-big-endian.diff ./fbv-1.0b-static-build.diff' # to build the shared-libs binary with jpeg-only support # EXTRA_CONFIGS='--without-libungif --without-libpng --without-bmp' # MAKE_COMMAND='make fbv.static' BUILD_STATIC=1 # Get the functions and configs . /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 if [ $BUILD_STATIC ] ; then # build the static binary separately with jpeg-only support: echo -n $BLUE"Building static binary - "$NORMAL cd $SRC_DIR ; make clean &> /dev/null ./configure --without-libungif --without-libpng --without-bmp &> /dev/null make fbv.static &> /dev/null strip -s fbv.static &> /dev/null mkdir -p $PKG_DIR/sbin cp $SRC_DIR/fbv.static $PKG_DIR/sbin echo $GREEN"Done!"$NORMAL fi fix_pkg_perms strip_bins create_docs compress_man_pages make_description make_doinst make_package post_process # src2pkg - Copyright 2005-2008 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='' # MAKE_COMMAND='' INSTALL_LINE='' # SHELL_INSTALL='YES' CORRECT_PERMS='NO'