#!/bin/bash ## src2pkg script for: ddclient ## Auto-generated by src2pkg-1.8 ## src2pkg Copyright 2005-2007 Gilbert Ashley BASE_URL='http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/Utils/ddclient-3.6.7/' SOURCE_URL='ddclient-3.6.7.tar.bz2' NAME='ddclient' VERSION='3.6.7' ARCH='i486' BUILD='1' PRE_FIX='usr' # Any extra options go here # EXTRA_CONFIGS='' # STD_FLAGS='-O2 -march=i486 -mtune=i686' EXTRA_SOURCES='slack-desc doinst.sh ddclient_3.6.7-2.diff.gz slackware-compat.diff.gz ' PATCHLIST='./ddclient_3.6.7-2.diff.gz ./slackware-compat.diff.gz' # 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 mkdir -p $PKG_DIR/usr/sbin cp $SRC_DIR/ddclient $PKG_DIR/usr/sbin chmod 755 $PKG_DIR/usr/sbin/ddclient mkdir -p $PKG_DIR/etc cp $SRC_DIR/sample-etc_ddclient.conf $PKG_DIR/etc/ddclient.conf.new chmod 644 $PKG_DIR/etc/ddclient.conf.new # mkdir -p $PKG_DIR/etc/ppp/ # cp $SRC_DIR/sample-etc_ppp_ip-up.local $PKG_DIR/etc/ppp/ip-up.local mkdir -p $PKG_DIR/etc/rc.d cp $SRC_DIR/sample-etc_rc.d_init.d_ddclient $PKG_DIR/etc/rc.d/rc.ddclient chmod 644 $PKG_DIR/etc/rc.d/rc.ddclient fix_pkg_perms strip_bins create_docs cp $SRC_DIR/sample-etc* $PKG_DIR/usr/doc/$NAME-$VERSION chmod 644 $PKG_DIR/usr/doc/$NAME-$VERSION/* 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'