Skip to content
This repository
tree: 30052a36d2
Fetching contributors…

Cannot retrieve contributors at this time

file 19 lines (16 sloc) 0.708 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
(
  # setup all the necessary paths
  MODPATH=$MOONBASE/utils/$MODULE &&
  SHARELOC=/usr/share/doc/calcdate &&
  PREFIX=/usr &&
  BINDIR=$PREFIX/bin &&
  
  # begin build
  prepare_install &&
  gcc calcdate.c -o calcdate &&
  mv calcdate $BINDIR &&
  chmod 0755 $BINDIR/$MODULE &&
  chown root.root $BINDIR/$MODULE &&

  # setup the docs
  mkdir -p $SHARELOC &&
  cp $MODPATH/calcdate.c $MODPATH/README $SHARELOC

) > $C_FIFO 2>&1
Something went wrong with that request. Please try again.