#!/bin/bash ## src2pkg script for: tar ## Auto-generated by src2pkg-1.1 ## src2pkg Copyright 2006-2007 Gilbert Ashley SOURCE_NAME='tar-1.13.tar.gz' NAME='tar' VERSION='1.13' ARCH='i486' BUILD='1' PRE_FIX='/usr' # Any extra options go here EXTRA_CONFIGS='--bindir=/bin --disable-nls --with-ncursesw --enable-widec' PATCHLIST='./patches/tar-1.13-bzip2-lzma.diff ./patches/tar-1.13.no-overwrite-dir-flag.diff' # Get the functions and configs source /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/bin cat $SRC_DIR/src/tar > $PKG_DIR/bin/tar-1.13 # # Who's really using a tape device anyway? # mkdir -p $PKG_DIR/usr/libexec # cat $SRC_DIR/src/rmt > $PKG_DIR/usr/libexec/rmt # chown root.root $PKG_DIR/usr/libexec/rmt # chmod 755 $PKG_DIR/usr/libexec/rmt mkdir -p $PKG_DIR/usr/man/man1 cat $CWD/Resources/tar-1.13.1.gz > $PKG_DIR/usr/man/man1/tar-1.13.1.gz fix_pkg_perms strip_bins create_docs 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'