#!/bin/sh ## Advanced.PkgBuild script for: firefox ## ## 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="firefox" VERSION="1.0.7" SRC_SUFFIX=".tar.bz2" #####--------Common Overrides and Options---------------------- # PRE_FIX="" # EXTRA_CONFIGS="" DOCLIST="LEGAL LICENSE README.txt" # 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. RUNTIME_ONLY="YES" pre_process ; find_source ; make_dirs ; unpack_source ; cp $CWD/mozconfig.FF-std-GTK1 $SRC_DIR/mozconfig fix_source_perms ; # configure_source ; # compile_source ; cd $SRC_DIR ; ./configure cd $SRC_DIR ; MOZ_PHOENIX=1 make -j3 -s export MOZ_PHOENIX=1 make -j3 -s libs fake_install ; 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.