|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../pingus/pingus.conf
|
|
|
|
# Copyright (C) 2007 - 2008 The OpenSDE Project
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
|
|
|
# GNU General Public License can be found in the file COPYING.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
# Prevent executing normal make and install build steps.
|
|
|
|
# This package uses scons and a custom install script.
|
|
|
|
MAKE=scons
|
|
|
|
makeinstopt=
|
|
|
|
|
|
|
|
bindir=$root/$SDECFG_PKG_GAMES_BINDIR
|
|
|
|
datadir=$root/$SDECFG_PKG_GAMES_DATADIR/$pkg
|
|
|
|
|
|
|
|
pingus_install() {
|
|
|
|
# We need to do some additional magic.
|
|
|
|
pushd $builddir/pingus-${ver}
|
|
|
|
|
|
|
|
# Custom installation steps. We could trim some additional fat
|
|
|
|
# here (look at install.sh). install.sh complained and could not
|
|
|
|
# be easily fixed.
|
|
|
|
install -v pingus "$bindir/$pkg"
|
|
|
|
tar -c data | tar -x -C $datadir
|
|
|
|
|
|
|
|
# Restore directory.
|
|
|
|
popd
|
|
|
|
}
|
|
|
|
|
|
|
|
hook_add postmake 5 pingus_install
|