#!/bin/bash ## PkgBuild script for: MPlayer ## Auto-generated by 'src2pkg' BUILD='1' NAME='MPlayer' VERSION='1.0rc1' SRC_SUFFIX='.tar.bz2' # STD_FLAGS='-O2 -march=i486 -mtune=i686' PRE_FIX='/usr' EXTRA_CONFIGS='--enable-gui --enable-gtk1' # Get the functions and configs source /usr/libexec/pkgbuild/FUNCTIONS ; ALT_PKG_NAME=mplayer-$VERSION-$ARCH-$BUILD$SIG.tgz # do_all_processes can substitute these 16 steps: pre_process find_source make_dirs unpack_source fix_source_perms # configure_source # compile_source cd $SRC_DIR && ./configure --prefix=/usr --enable-gui --enable-gtk1 cd $SRC_DIR && make 1> /dev/null OBJ_DIR=$SRC_DIR MAKEFILE=Makefile fake_install # remove these links which get created by the doinst.sh rm -f $PKG_DIR/usr/man/mencoder.1 rm -f $PKG_DIR/usr/bin/gmplayer 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=''