#!/bin/bash ## src2pkg script for: golem ## Auto-generated by src2pkg-1.5 ## src2pkg Copyright 2005-2007 Gilbert Ashley ## Full package name: golem-0.0.6-i486-1.tgz SOURCE_NAME='golem-0.0.6.tar.bz2' NAME='golem' VERSION='0.0.6' ARCH='i486' BUILD='1' PRE_FIX='usr' # Any extra options go here # EXTRA_CONFIGS='' # STD_FLAGS='-O2 -march=i486 -mtune=i686' # 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 ( cd $SRC_DIR && make -i 2> /dev/null ) # ( cd $SRC_DIR/src && make ) mkdir -p $PKG_DIR/usr/bin cp -a $SRC_DIR/build-bin/golem $PKG_DIR/usr/bin cp -a $SRC_DIR/build-bin/golem.install $PKG_DIR/usr/bin mkdir -p $PKG_DIR/usr/lib/golem/plugins files=`( cd $SRC_DIR/src ; perl ./listmods.pl $SRC_DIR dynamic )` ; \ for i in $files ; do \ cd /home/amigo/Downloads/golem/golem-0.0.6-src-1; \ if [ -f build-plugin/$i.so ] ; then \ /usr/bin/ginstall -c build-plugin/$i.so $PKG_DIR/usr/lib/golem/plugins/ ; \ fi ; \ done mkdir -p $PKG_DIR/usr/share/golem cp -a $SRC_DIR/sample.golem/* $PKG_DIR/usr/share/golem/ mkdir -p $PKG_DIR/$MAN_DIR/man1 cp -a $SRC_DIR/doc/golem.1.gz $PKG_DIR/$MAN_DIR/man1 # fake_install 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'