# /etc/src2pkg/src2pkg.conf Version-1.9.5 # Only change stuff here that you want to *always* apply. # Most configuration options are set up with sane defaults # in the file /usr/libexec/src2pkg/DEFINES. # This src2pkg.conf file is not required for src2pkg to work # You can use any src2pkg variable in this file, but it really # should only be used for options which are non package-specific. # # Signature for line 11 of automatically created slack-desc files # SIGNATURE="Packaged by src2pkg" # SIG is a suffix to BUILD for 'signing' package names # ! [[ $SIG ]] && SIG="" # Uncomment to turn off color prompting # COLOR_PROMPT="NO" # Uncomment to always see all ouput from commands # QUIET="NO" # specify the program for downloading files # wget, rsync, curl and lynx are supported --wget is used by default # DOWNLOADER=wget # Add dependency information to the PKG_DESC (slack-desc) file by default # uncomment and set to NO if you never want dependency info in the slack-desc file # ! [[ $ADD_DEPENDS_IN_DESC ]] && ="YES" # Generate a PKG_REQUIRED (slack-required) file by default # uncomment and set to NO if you never want to create slack-required files in the package # ! [[ $ADD_REQUIRED_FILE ]] && ="YES" # Preferred type of installation -this allows you to set the default method to use # for creating package content. The JAIL installation method uses # the libsentry libraries to install files directly into the PKG_DIR in much # the same was as using the DESTDIR variable -except that this method can # be used with Makefiles that don't support the DESTDIR variable. You can also # set this to REAL to use the method that used to be the src2pkg default. # Using REAL lets the 'make install' command write files directly to your # real root '/' directory. But files which are about to be overwritten are backed up # first and then restored before package creation is finished. # Using DESTDIR is familiar to and trusted by many people. If you choose this # method and it is not supported by the Makefile(s) for a package you are building, # src2pkg will revert to using the JAIL method. # Using the DESTDIR or JAIL method and building packages while logged in # a normal user is probably the safest way to make packages. # The REAL method can only be used while logged in as root, but it is the most # precise -that is it is the most likely to install all the files that are supposed to be # installed and in the right place. Use it when you are having problems with the # other two methods. Some packages can only be built correctly by using the -REAL # option. When possible, avoid using this option to build packages of software which # is already installed to you system. The backup feature works very well with real # directories and files, but may not correctly backup some links. # ! [[ $INSTALL_TYPE ]] && INSTALL_TYPE=JAIL ## Options for interactivity # QUERY_FOR_EXTRA_CONFIGS lets you configure sources interactively # by first running './configure --help' to let you see available options and then # waiting for input from the user which will be set in the EXTRA_CONFIGS variable # uncomment the following line for interactive mode # QUERY_FOR_EXTRA_CONFIGS=YES # CONFIRM_BUILD lets you pause avftre configuring the sources to confirm whether # you want to continue by compiling the sources and creating the package #CONFIRM_BUILD=YES # QUERY_FOR _PKG_DESC lets you pause to add a package description whenever # a default slack-desc (PKG_DEC) is being created #QUERY_FOR_PKG_DESC=YES # You can set the above three options individually by uncommenting the line or lines you want # or use all the interactive features together by uncommenting the line below: # INTERACTIVE_MODE="ALL" ## Working Directories # The default settings for these are like for Slackware SlackBuilds: # # The tarball, or link to it, is in the current directory # SOURCES_DIR="$CWD" # Sources are unpacked and built in /tmp # SRC_BUILDS_DIR="/tmp" # The package build tree is also in /tmp # PKG_BUILDS_DIR="/tmp" # Finished packages are left in /tmp # PKG_DEST_DIR="/tmp" # # libsentry needs a directory to backup overwritten files: # BACKUP_DIR=/tmp # If you keep backup archives they will saved to this directory: # BACKUPS_SAVE_DIR=/tmp # You can create a separate directory for each package # and then do everything in the current directory: # This is the way that I use src2pkg so that I can # easily see both the compiled sources directory # and the uncompressed package tree. # ! [[ $SOURCES_DIR ]] && SOURCES_DIR="$CWD" # ! [[ $SRC_BUILDS_DIR ]] && SRC_BUILDS_DIR="$CWD" # ! [[ $PKG_BUILDS_DIR ]] && PKG_BUILDS_DIR="$CWD" # ! [[ $PKG_DEST_DIR ]] && PKG_DEST_DIR="$CWD" # ! [[ $BACKUP_DIR ]] && BACKUP_DIR="$CWD" # # You can also set it up like rpm does and use the build area # in /usr/src/src2pkg. There are subdirectories with the names # 'packages', 'sources' and 'scripts'. You can place all source # archives in the 'sources' directory. Then for each package # you want to build, create a new directory under the 'scripts' # directory. And you can have all the finished packages placed # in the 'packages directory. If plan to build packages as a normal # user you'll have to make sure that user has permission to # read and write to all these directories. Then you can set up the # directory variables like this: # ! [[ $SOURCES_DIR ]] && SOURCES_DIR="/usr/src/src2pkg/sources" # ! [[ $SRC_BUILDS_DIR ]] && SRC_BUILDS_DIR="/tmp" # ! [[ $PKG_BUILDS_DIR ]] && PKG_BUILDS_DIR="/tmp" # ! [[ $PKG_DEST_DIR ]] && PKG_DEST_DIR="/usr/src/scr2pkg/packages" # ! [[ $BACKUP_DIR ]] && BACKUP_DIR="$CWD" # If you are using some architecture besides ix86, you may want to # change the defaults for these. See the DEFINES file for more # info on how these are set by src2pkg # ! [[ $STD_CONFIGS ]] && STD_CONFIGS= # ! [[ $STD_FLAGS ]] && STD_FLAGS= # If you have a fast processor or multi-processor machine # you may wish to use something like this for faster builds # ! [[ $MAKE_COMMAND ]] && MAKE_COMMAND='make -j3'