#!/bin/sh ## Advanced.PkgBuild script for: lesstif ## ## 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="lesstif" VERSION="0.93.34" SRC_SUFFIX=".tar.bz2" #####--------Common Overrides and Options---------------------- # PRE_FIX="" EXTRA_CONFIGS="--enable-shared --enable-build-21 \ --disable-debug --enable-production --prefix=/usr/X11R6" # 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 ; fix_pkg_perms ; strip_bins ; create_docs ; cd $PKG_DIR/usr/X11R6/lib/X11/config ; mv host.def host.def-lesstif mkdir -p $PKG_DIR/etc/X11 cd $PKG_DIR/usr/X11R6/lib/X11 ; cp -a mwm $PKG_DIR/etc/X11 ; rm -rf mwm ; compress_man_pages ; make_description ; make_doinst ; make_package ; post_process ; exit 0 ## See the Amigo PkgBuild documentation for help and examples.