# /etc/src2pkg/src2pkg.conf Version-1.9 # 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 # # Signature for line 11 of automatically created slack-desc files # SIGNIATURE="Packaged by src2pkg" # Uncomment to turn off color prompting # COLOR_PROMPT="NO" # Uncomment to always see all ouput # QUIET="NO" # specify the program for downloading files -- wget, rsync, curl and lynx are supported # 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 -excpet 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. # By default src2pkg use the DESTDIR as its' default. # 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 method and building packages while logged in as a normal user # is probably the safest way to make packages -followed closely by the JAIL method, # also while logged in as a normal user. The REAL method can only be used while # logged in as root, but it is probably 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 # ! [[ $INSTALL_TYPE ]] && INSTALL_TYPE=DESTDIR ## 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: # # ! [[ $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 create a build area, # for example, in /usr/src/src2pkg with subdirectories like: # SOURCES, BUILDS, PACKAGES. Then you can make a # RECIPES directory with subdirs for each src2pkg script # with it's patches or other resources