File:  [ELWIX - Embedded LightWeight unIX -] / elwix / Attic / build_package.sh
Revision 1.1.2.1: download - view: text, annotated - select for diffs - revision graph
Mon Mar 19 21:37:22 2012 UTC (12 years, 3 months ago) by misho
Branches: elwix1_6
added initial package builder

    1: #!/bin/sh
    2: #
    3: # ELWIX build script for ELWIX packages
    4: #
    5: # (C) AITNET ltd - Sofia/Bulgaria <office@aitnet.org>
    6: #    by Michael Pounov <misho@elwix.org>
    7: #
    8: # $Id: build_package.sh,v 1.1.2.1 2012/03/19 21:37:22 misho Exp $
    9: #
   10: 
   11: [ -r ./config/rc.pkg ] && . ./config/rc.pkg
   12: [ -r ./config/rc.elwix ] && . ./config/rc.elwix
   13: if [ X"${ELWIX_IS_CONFIGURED}" != X"YES" ]; then
   14: 	echo
   15: 	echo "ELWIX project is not configured !?!"
   16: 	echo
   17: 	exit 1
   18: fi
   19: 
   20: if [ ! -d $BSDSRC ]; then
   21: 	echo
   22: 	echo "ELWIX project is not configured - missing BSD sources !?!"
   23: 	echo
   24: 	exit 1
   25: fi
   26: 
   27: if [ ! -d $DEST ]; then
   28: 	echo
   29: 	echo "ELWIX project is not configured - missing Dest directory !?!"
   30: 	echo
   31: 	exit 1
   32: fi
   33: 
   34: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>