#!/bin/sh ## Advanced.PkgBuild script for: freetype1 ## ## 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="freetype1" VERSION="1.4" SRC_SUFFIX=".tar.bz2" #####--------Common Overrides and Options---------------------- PRE_FIX="/opt/freetype1-1.4" EXTRA_CONFIGS="--enable-static" # 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 ; # cd $SRC_DIR ; # patch -p1 < $CWD/Resources/freetype1_1.4pre.20030402-1.1.diff fix_source_perms ; configure_source ; compile_source ; # fake_install ; cd $SRC_DIR && make prefix=$PKG_DIR/opt/freetype1-1.4 install fix_pkg_perms ; strip_bins ; create_docs ; cp $CWD/Amigo.notes $PKG_DIR/usr/doc/$NAME-$VERSION/README.Amigo rm -rf $PKG_DIR/$PREFIX/share compress_man_pages ; make_description ; make_doinst ; make_package ; post_process ; exit 0 ## See the Amigo PkgBuild documentation for help and examples.