#!/bin/bash ## PkgBuild script for: busybox ## Auto-generated by 'src2pkg' BUILD='2' NAME='busybox' VERSION='1.2.1' SRC_SUFFIX='.tar.bz2' STD_FLAGS='-O2 -march=i486 -mcpu=i686' PRE_FIX='/static' # 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 cp -a $CWD/Resources/config $SRC_DIR/.config fix_source_perms # configure_source # compile_source # fake_install cd $SRC_DIR && make oldconfig cd $SRC_DIR && make # make install installs these in SRC_DIR/_install cd $SRC_DIR && make install # lots of relative links are created # don't insert a doinst.sh so makepkg picks up these links mkdir -p $PKG_DIR/usr/Static cp -a $SRC_DIR/_install/* $PKG_DIR/usr/Static cp -a $CWD/Resources/README.Static $PKG_DIR/usr/Static fix_pkg_perms strip_bins create_docs cp -a $SRC_DIR/.config $PKG_DIR/usr/doc/$NAME-$VERSION/config cp -a $SRC_DIR/busybox.links $PKG_DIR/usr/doc/$NAME-$VERSION 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='' CONFIG_SUBDIR=''