#!/bin/bash ## src2pkg script for: xscreensaver ## Auto-generated by src2pkg-1.9.2 ## src2pkg Copyright 2005-2008 Gilbert Ashley BASE_URL=http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/XApps/xscreensaver-5.04 SOURCE_URL='xscreensaver-5.04.tar.bz2' EXTRA_SOURCES='slack-desc xscreensaver.setuid.diff.gz ' NAME='xscreensaver' VERSION='5.04' ARCH='i486' BUILD='1' PRE_FIX='usr' # Any extra options go here EXTRA_CONFIGS='--mandir=/usr/man \ --with-x-app-defaults=/etc/X11/app-defaults \ --with-shadow \ --with-jpeg \ --with-gl' # use 'make -i' since NLS is broken in xscreensaver MAKE_COMMAND='make -i' # these variables are needed by the configure script export xml_config=/usr/bin/xml-config export xml2_config=/usr/bin/xml2-config # STD_FLAGS='-O2 -march=i486 -mtune=i686' PATCHLIST='./xscreensaver.setuid.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 echo -n $BLUE"Installing - "$NORMAL cd $SRC_DIR ; make -i install_prefix=$PKG_DIR install &> /dev/null echo $GREEN "Done!"$NORMAL fix_pkg_perms # Do this here if possible, though the doinst.sh will repeat # this when the package is installed chown root:shadow /usr/bin/xscreensaver 2> /dev/null chmod 2751 /usr/bin/xscreensaver 2> /dev/null strip_bins create_docs compress_man_pages make_description # cat > $PKG_DIR/install/doinst.sh < ## 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'