00
0
SCRIPT is
PACKAGE is
FTPDIR is
#!/bin/bash
set -e
SRC_ARCHIVE=$SRC_ARCHIVE
FTP_SERVER=$FTP_SERVER
PACKAGE=
PKG_DIR=
SRC_DIR=$SRC_DIR
cd $SRC_DIR/$PKG_DIR
rm -rf $UNPACKDIR unpacked
SRC_DIR=$SRC_DIR
cd $SRC_DIR
mkdir -p xc
cd xc
exit
mkdir -p $SRC_DIR/$PKG_DIR
cd $SRC_DIR/$PKG_DIR
if [[ -e unpacked ]] ; then
UNPACKDIR=`head -n1 unpacked | sed 's@^./@@;s@/.*@@'`
rm -rf $UNPACKDIR
fi
tar -xvf $PACKAGE > unpacked
UNPACKDIR=`head -n1 unpacked | sed 's@^./@@;s@/.*@@'`
cd $UNPACKDIR
sudo /sbin/
ldconfig
for package in $(grep -v '^#' ../${sect-ver}.wget) ; do
packagedir=$(echo $package | sed 's/.tar.bz2//')
tar -xf $package
cd $packagedir
cd ..
rm -rf $packagedir
done
sudo /sbin/
ldconfig
cdparanoia
docbk
gc
iso-codes
jpeg
lynx
ntp
openldap
OOo
pine
portmap
psutils
qpopper
qt-x11-free
sendmail
slib
tcl
tcp_wrappers
tetex
tidy
tk
unzip
wireless_tools
whois
Xorg
zip
-
if [[ ! -f $PACKAGE ]] ; then
if [[ -f $SRC_ARCHIVE/$PKG_DIR/$PACKAGE ]] ; then
cp $SRC_ARCHIVE/$PKG_DIR/$PACKAGE $PACKAGE
elif [[ -f $SRC_ARCHIVE/$PACKAGE ]] ; then
cp $SRC_ARCHIVE/$PACKAGE $PACKAGE
else
wget ${FTP_SERVER}conglomeration/$PKG_DIR/$PACKAGE
|| \
wget
|| \
wget
fi
fi
echo "
$PACKAGE" | md5sum -c -
wget
wget
wget
sudo sh -c "
"
sect-ver=
#
make -k
|| true
**EDITME
EDITME**