#!/bin/bash ## src2pkg script for: dansguardian ## Auto-generated by src2pkg-1.6 ## src2pkg Copyright 2005-2007 Gilbert Ashley ## Full package name: dansguardian-2.9.9.1-i486-1.tgz SOURCE_URL='http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/Utils/dansguardian-2.9.9.1/dansguardian-2.9.9.1.tar.gz' # SOURCE_NAME='dansguardian-2.9.9.1.tar.gz' NAME='dansguardian' VERSION='2.9.9.1' ARCH='i486' BUILD='1' PRE_FIX='usr' # Any extra options go here EXTRA_SOURCES='http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/Utils/dansguardian-2.9.9.1/doinst.sh http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/Utils/dansguardian-2.9.9.1/rc.dansguardian http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/Utils/dansguardian-2.9.9.1/logrotate.dansguardian http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/Utils/dansguardian-2.9.9.1/slack-desc' # You may want to add these options: '--enable-pcre --enable-clamd --enable-email' EXTRA_CONFIGS='--libdir=/usr/lib --localstatedir=/var --sysconfdir=/etc --with-proxyuser=nobody --with-proxyuser=nobody' # STD_FLAGS='-O2 -march=i486 -mtune=i686' # 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 mv $PKG_DIR/etc/dansguardian/dansguardian.conf $PKG_DIR/etc/dansguardian/dansguardian.conf.new mv $PKG_DIR/etc/dansguardian/dansguardianf1.conf $PKG_DIR/etc/dansguardian/dansguardianf1.conf.new # Install the init script mkdir -p $PKG_DIR/etc/rc.d cp -a $CWD/rc.dansguardian $PKG_DIR/etc/rc.d/ chmod 644 $PKG_DIR/etc/rc.d/rc.dansguardian # Install the logrotate script mkdir -p $PKG_DIR/etc/logrotate.d cp $CWD/logrotate.dansguardian $PKG_DIR/etc/logrotate.d/dansguardian fix_pkg_perms strip_bins create_docs compress_man_pages make_description make_doinst make_package post_process # 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. # EXTRA_CONFIGS='' PRE_FIX='' DOCLIST='' # MAKE_COMMAND='' INSTALL_LINE='' # SHELL_INSTALL='YES' CORRECT_PERMS='NO'