#!/bin/bash ## PkgBuild script for: slang ## Auto-generated by src2pkg-0.7 SOURCE_NAME='slang-1.4.9.tar.bz2' NAME='slang' VERSION='1.4.9' DOCV='1.4.8' BUILD='1' EXTRA_CONFIGS="--includedir=/usr/include/slang" MAKE_COMMAND="make all elf" INSTALL_RULE="install install-elf" # STD_FLAGS='-O2 -march=i486 -mtune=i686' # Any extra options go here # Get the functions and configs source /usr/libexec/pkgbuild/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 chmod 755 $PKG_DIR/usr/lib/libslang.so.1.4.9 fix_pkg_perms strip_bins create_docs tar xjvf $CWD/slang-$DOCV-doc.tar.bz2 2> /dev/null chown -R root.root doc cp -a doc/html $PKG_DIR/usr/doc/slang-$VERSION 2> /dev/null rm -rf doc compress_man_pages make_description make_doinst make_package post_process # Amigo PkgBuild and src2pkg - Copyright 2005-2006 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='' INSTALL_RULE=''