version 1.1.2.4, 2012/03/21 08:58:50
|
version 1.1.2.6, 2012/03/21 17:20:34
|
Line 5
|
Line 5
|
# (C) AITNET ltd - Sofia/Bulgaria <office@aitnet.org> |
# (C) AITNET ltd - Sofia/Bulgaria <office@aitnet.org> |
# by Michael Pounov <misho@elwix.org> |
# by Michael Pounov <misho@elwix.org> |
# |
# |
# ./build_package.sh <package_name> | # ./build_package.sh <category/package_name> [options] |
# |
# |
# $Id$ |
# $Id$ |
# |
# |
Line 21 fi
|
Line 21 fi
|
#V=${VERSION} |
#V=${VERSION} |
[ -r ${CENV} ] && . ${CENV} |
[ -r ${CENV} ] && . ${CENV} |
#unset INSTALL |
#unset INSTALL |
#unset VERSION | VERSION="${TARGET_BUILD}" |
VERSION="elwix-freebsd" | |
|
|
if [ ! -d $BSDSRC ]; then |
if [ ! -d $BSDSRC ]; then |
echo |
echo |
Line 58 fi
|
Line 57 fi
|
|
|
if ! cd ${1:-NO}; then |
if ! cd ${1:-NO}; then |
echo |
echo |
echo "Packet '$1' not exists ..." | echo "Packet '$1' not exists ... (example package name: net/bmon)" |
echo |
echo |
exit 1 |
exit 1 |
else |
else |
shift |
shift |
fi |
fi |
|
|
${CEXEC} bmake $* | bmake $* |