00
0
SCRIPT is
PACKAGE is
FTPDIR is
#!/bin/sh
set -e
SRC_ARCHIVE=$SRC_ARCHIVE
FTP_SERVER=$FTP_SERVER
PACKAGE=
PKG_DIR=
cd ~/sources/$PKG_DIR
rm -rf $UNPACKDIR
exit
mkdir -p ~/sources/$PKG_DIR
cd ~/sources/$PKG_DIR
tar -xvf $PACKAGE > unpacked
UNPACKDIR=`head -n1 unpacked | sed 's@^./@@;s@/.*@@'`
cd $UNPACKDIR
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
sudo sh -c "
"
#
make -k
|| true
**EDITME
EDITME**