#!/bin/bash ## src2pkg script for: device ## Auto-generated by src2pkg-1.9.4 ## src2pkg Copyright 2005-2008 Gilbert Ashley SOURCE_URL='ftp://sources.redhat.com/pub/dm/device-mapper.1.01.05.tgz' EXTRA_SOURCES='http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/Utils/device-mapper-1.01.05/slack-desc http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/Utils/device-mapper-1.01.05/doinst.sh ' # SOURCE_NAME='device-mapper.1.01.05.tgz' ALT_NAME='device-mapper' VERSION='1.01.05' ARCH='i486' BUILD='1' PRE_FIX='usr' # Use this to set the kernel version if you want to compile # for use with the kernel you are running #KVER=${KVER:-`uname -r`} # Or set this if you want to compile for use with some # other kernel version than what you are running KVER="2.6.24-rc6" KSRC="${KSRC:-/lib/modules/$KVER/build}" # Any extra options go here EXTRA_CONFIGS="--with-device-mode=0660\ --with-device-gid=6 \ --enable-static_link \ --with-kernel-version=$KVER \ --with-kernel-dir=$KSRC" # STD_FLAGS='-O2 -march=i486 -mtune=i686' DOCLIST='COPYING COPYING.LIB INSTALL INTRO README VERSION WHATS_NEW' # 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 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' # When editing src2pkg scripts to add custom code, use these variables # to refer to the current directory, the sources or the package tree: # $CWD (current directory), $SRC_DIR (sources), $PKG_DIR (package tree)