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, 6 months ago) by misho
Branches: elwix1_6
added initial package builder

#!/bin/sh
#
# ELWIX build script for ELWIX packages
#
# (C) AITNET ltd - Sofia/Bulgaria <office@aitnet.org>
#    by Michael Pounov <misho@elwix.org>
#
# $Id: build_package.sh,v 1.1.2.1 2012/03/19 21:37:22 misho Exp $
#

[ -r ./config/rc.pkg ] && . ./config/rc.pkg
[ -r ./config/rc.elwix ] && . ./config/rc.elwix
if [ X"${ELWIX_IS_CONFIGURED}" != X"YES" ]; then
	echo
	echo "ELWIX project is not configured !?!"
	echo
	exit 1
fi

if [ ! -d $BSDSRC ]; then
	echo
	echo "ELWIX project is not configured - missing BSD sources !?!"
	echo
	exit 1
fi

if [ ! -d $DEST ]; then
	echo
	echo "ELWIX project is not configured - missing Dest directory !?!"
	echo
	exit 1
fi



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