On 2008-5-8 21:56, Antoine NONYME wrote:
Hello Slackbuilds users :
I have made a script that downloads, builds and installs automagically
SlackBuilds .
It would be nice that the script would be downloadable on the slackbuild
site/included on extra/ slackware repositories .
To use the script, just type as root:) :
# slackmerge <category> <package>
For example :
# slackmerge desktop icewm
Here is the script content :
--BOF--
#!/bin/sh
SLACKVER="12.1"
SB_REPO="http://www.slackbuilds.org/slackbuilds/12.1/"
# Usage : slackmerge <category> <package>
# For example : slackmerge desktop icewm
mkdir /tmp/SmGE
cd /tmp/SmGE
wget -c $SB_REPO$1/$2.tar.gz
tar xvf $2.tar.gz
cd $2
cp $2.info download
echo "\
wget -c \$DOWNLOAD" >> download
sh download
sh $2.SlackBuild
installpkg /tmp/*$2*.tgz
--EOF--
The script is also attached to the e-mail .
Enjoy using the script !
IMHO, it's better to avoid using the <category>.
It will be convenient if SBO would maintain an full FILELIST file.
------------------------------------------------------------------------
_______________________________________________
Slackbuilds-users mailing list
[email protected]
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Please read the FAQ - http://slackbuilds.org/faq/
--
Rgds,
Cherife.
_______________________________________________
Slackbuilds-users mailing list
[email protected]
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Please read the FAQ - http://slackbuilds.org/faq/