# root repositories
ROOT-i386="tds%http://slackware.mirrors.tds.net/pub/slackware/"
ROOT-i386="sarava%http://slack.sarava.org/slackware/"
+ROOT-powerpc="workaround%http://slackintosh.workaround.ch/pub/slackintosh/"
+ROOT-s390="ibiblio%http://distro.ibiblio.org/pub/linux/distributions/slack390/"
ROOT-x86_64="sarava%http://slack.sarava.org/slamd64/"
ROOT-x86_64="slackadelic%http://mirror1.slackadelic.com/slamd64/"
ROOT-x86_64="heanet%http://ftp.heanet.ie/pub/slamd64/"
-ROOT-powerpc="workaround%http://slackintosh.workaround.ch/pub/slackintosh/"
-ROOT-s390="ibiblio%http://distro.ibiblio.org/pub/linux/distributions/slack390/"
+# If you want to use Bluewhite64 instead of Slamd64, please uncoment the
+# next line and make sure to comment out all other slamd64 repository definitions
+#ROOT-x86_64="bluewhite64%http://mirror.inode.at/data/bluewhite64/"
+# If you want to use Sflack instead of Slamd64, please uncoment the
+# next line and make sure to comment out all other slamd64 repository definitions
+#ROOT-x86_64="bluewhite64%http://webftp.slackarea.net/pub/sflack/"
# noarch
NOARCH="sarava%http://slack.sarava.org/packages/noarch"
cat $1/etc/slamd64-version | awk '{ print $2 }' | sed -e 's/.0$//'
elif [ -f "$1/etc/bluewhite64-version" ]; then
cat $1/etc/bluewhite64-version | awk '{ print $2 }' | sed -e 's/.0$//'
+ elif [ -f "$1/etc/sflack-version" ]; then
+ cat $1/etc/sflack-version | awk '{ print $2 }' | sed -e 's/.0$//'
else
aaa_base="`basename $(ls $1/var/log/packages/aaa_base-[0-9]* 2> /dev/null)`"
echo `package_version $aaa_base`
arch="`cat $1/etc/slamd64-version | awk '{ print $3 }' | sed -e 's/(//' -e 's/)//'`"
elif [ -f "$1/etc/bluewhite64-version" ]; then
arch="`cat $1/etc/bluewhite64-version | awk '{ print $3 }' | sed -e 's/(//' -e 's/)//'`"
+ elif [ -f "$1/etc/sflack-version" ]; then
+ arch="`cat $1/etc/sflack-version | awk '{ print $3 }' | sed -e 's/(//' -e 's/)//'`"
else
aaa_base="`basename $(ls $1/var/log/packages/aaa_base-[0-9]* 2> /dev/null)`"
echo `package_arch $aaa_base`
#################################################################
## Generic template for SlackBuilds
##
-## Version 0.9.1 - Luis ( luis at riseup d0t net)
+## Version 0.9.2 - Luis ( luis at riseup d0t net)
## Alves ( rudsonalves at yahoo d0t com d0t br )
#################################################################
#!/bin/bash
###################################################
## Perl template for SlackBuilds
##
-## Based on generic.mkSlackBuild version 0.8.1 by
+## Based on generic.mkSlackBuild version 0.9.2 by
## Luis (luis at riseup d0t net) and changed by
## Rhatto (rhatto at riseup d0t net)
##
"--remove" | "remove") simplaret_req_arg $2 ; ROOT=/$ROOT removepkg $2 ;;
"--help" | "help") simplaret_usage ;;
*)
- if echo $1 | grep -v '^--'; then
+ if echo $1 | grep -q -v '^--'; then
simplaret_install $*
else
simplaret_usage