#!/bin/sh ## Advanced.PkgBuild script for: makebootfat ## ## Amigo PkgBuild-0.3 - Gilbert Ashley ## ##### ------------Standard Package Variables------------------- # Most source code only needs these 4 variables set. # Set SRC_SUFFIX to ".tar.gz" ".tgz" ".tar.bz2" or ".tbz" BUILD="1" NAME="makebootfat" VERSION="1.4" SRC_SUFFIX=".tar.bz2" #####--------Common Overrides and Options---------------------- # PRE_FIX="" # EXTRA_CONFIGS="" # DOCLIST="" # GROUP_NAME="" #######----------------Processing------------------------------ # Get functions and read in configuration files source /usr/share/Amigo/PkgBuild/FUNCTIONS ; # This template calls each process individually so you can add # extra instructions between processes, or even leave out steps. pre_process ; find_source ; make_dirs ; unpack_source ; fix_source_perms ; # configure_source ; # compile_source ; # fake_install ; PATH=/opt/mingw32-3.2.3/mingw32/bin:/opt/mingw32-3.2.3/bin:$PATH cd $SRC_DIR; export CFLAGS="-O2 -Wall -fomit-frame-pointer" export LDFLAGS="-s" export LIBS="-lsetupapi" ./configure --host=mingw32 cd $SRC_DIR && make echo "!!! Since this is a windows.exe we won't bother installing it." echo "Instead we'll exit here. Write your own install lines." exit 0 fix_pkg_perms ; strip_bins ; create_docs ; compress_man_pages ; make_description ; make_doinst ; make_package ; post_process ; exit 0 ## See the Amigo PkgBuild documentation for help and examples.