#!/bin/bash ## PkgBuild script for: gsm ## Script generated using Amigo 'src2pkg' BUILD='1' NAME='gsm' VERSION='1.0.12' SRC_SUFFIX='.tar.bz2' STD_FLAGS='-O2 -march=i486 -mcpu=i686' PRE_FIX='/usr' # Get the functions and configs source /usr/libexec/pkgbuild/FUNCTIONS ; # Execute all the functions # do_all_processes ; substitutes these 16 setps: pre_process ; find_source ; make_dirs ; unpack_source ; fix_source_perms ; configure_source ; compile_source ; fake_install ; mkdir -p $PKG_DIR/usr/lib $PKG_DIR/usr/include cp -a $SRC_DIR/inc/gsm.h $PKG_DIR/usr/include cp -a $SRC_DIR/lib/libgsm.a $PKG_DIR/usr/lib fix_pkg_perms ; strip_bins ; create_docs ; compress_man_pages ; make_description ; make_doinst ; make_package ; post_process; # Amigo PkgBuild and src2pkg - 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. # EXTRA_CONFIGS='' PRE_FIX='' DOCLIST='' INSTALL_RULE='' CONFIG_SUBDIR=''