4 |
# needs pkgbuild_dir (mage) |
# needs pkgbuild_dir (mage) |
5 |
|
|
6 |
# SMAGE2 |
# SMAGE2 |
7 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.47 2006-12-29 23:47:41 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.48 2007-01-17 21:18:17 niro Exp $ |
8 |
|
|
9 |
#01.10.2004 |
#01.10.2004 |
10 |
# added ccache support |
# added ccache support |
311 |
DEST=$2 |
DEST=$2 |
312 |
fi |
fi |
313 |
|
|
314 |
|
[[ ! -d ${DEST} ]] && install -d ${DEST} |
315 |
|
|
316 |
case "${SRCFILE##*.}" in |
case "${SRCFILE##*.}" in |
317 |
bz2) |
bz2) |
318 |
IFTAR="$(basename $SRCFILE .bz2)" |
IFTAR="$(basename $SRCFILE .bz2)" |
535 |
> ${dest} |
> ${dest} |
536 |
|
|
537 |
# header |
# header |
538 |
echo '# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.47 2006-12-29 23:47:41 niro Exp $' >> ${dest} |
echo '# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.48 2007-01-17 21:18:17 niro Exp $' >> ${dest} |
539 |
echo >> ${dest} |
echo >> ${dest} |
540 |
|
|
541 |
# pgkname and state |
# pgkname and state |