#!/bin/sh ## PkgBuild script for: unionfs ##--Standard Variables-- BUILD="1" NAME="unionfs" VERSION="1.0.11" SRC_SUFFIX=".tar.bz2" ##--Extras and Options-- # PRE_FIX="" # EXTRA_CONFIGS="" ##--Processing Get functions, defines, 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 ; KVERS=$(uname -r) cd $SRC_DIR && make mkdir -p $PKG_DIR/usr/sbin cp $SRC_DIR/unionctl $SRC_DIR/uniondbg $PKG_DIR/usr/sbin mkdir -p $PKG_DIR/lib/modules/$KVERS cp $SRC_DIR/unionfs.o $PKG_DIR/lib/modules/$KVERS mkdir -p $PKG_DIR/usr/man/man4 $PKG_DIR/usr/man/man8 cp $SRC_DIR/man/*.4 $PKG_DIR/usr/man/man4 cp $SRC_DIR/man/*.8 $PKG_DIR/usr/man/man8 fix_pkg_perms ; strip_bins ; create_docs ; compress_man_pages ; make_description ; make_doinst ; make_package ; post_process ; exit 0 # Amigo PkgBuild - 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. # CONFIG_COMMAND=""