|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
#
|
|
# Filename: package/.../mksh/mksh.conf
|
|
# Copyright (C) 2011 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 ---
|
|
|
|
autoextract=0
|
|
|
|
makeopt=
|
|
makeinstopt=
|
|
|
|
mksh_postmake () {
|
|
bunzip2 -dc `match_source_file -p mksh` > $builddir/mksh-$ver.cpio.gz
|
|
cat $builddir/mksh-$ver.cpio.gz | cpio -idcmv
|
|
mkdir $builddir/build; cd $builddir/build;
|
|
/bin/sh ../mksh/Build.sh -r
|
|
install -c -s -o root -g bin -m 555 $builddir/build/mksh $root/bin/mksh
|
|
install -c -o root -g bin -m 644 $builddir/mksh/dot.mkshrc $root/etc/skel/.mkshrc
|
|
install -c -o root -g root -m 644 $builddir/mksh/mksh.1 $root/usr/man/man1/
|
|
}
|
|
hook_add postmake 5 "mksh_postmake"
|
|
|