Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=interim.git;a=commitdiff;h=32e8ee3021d7bddf3a742cd5a9c2042051f61662
commit 32e8ee3021d7bddf3a742cd5a9c2042051f61662
Author: James Buren <[EMAIL PROTECTED]>
Date: Wed Jun 25 15:48:39 2008 -0500
rox.sh
* some fixes for testsuite
diff --git a/source/include/rox.sh b/source/include/rox.sh
index 72059b6..cd568bb 100644
--- a/source/include/rox.sh
+++ b/source/include/rox.sh
@@ -18,6 +18,7 @@
# pkgdesc="An essential library for ROX Desktop."
# _F_rox_name="ROX-Lib"
# _F_rox_sep=2-
+# _F_rox_use_sourceforge=1
# _F_sourceforge_name=${pkgname}2
# _F_sourceforge_ext=.tar.bz2
# Finclude rox
@@ -30,8 +31,8 @@
#
# == OPTIONS
# * _F_rox_name - real name of the rox app, defaults to $pkgname
-# * _F_rox_override - set to 1 if you wish to disable automatic detection
-# of url, and up2date/source if sourceforge is used.
+# * _F_rox_use_sourceforge - enable the use of sourceforge, and some other
+# defaults that go with it
# * _F_rox_subdir - used to install the rox app to a subdir of the install
# path
# * _F_rox_sep - used to change the seperator between version and
@@ -41,7 +42,7 @@
[ -z "$_F_rox_name" ] && _F_rox_name=$pkgname
[ -z "$_F_rox_subdir" ] && _F_rox_subdir=
[ -z "$_F_rox_sep" ] && _F_rox_sep=-
-[ -z "$_F_rox_override" ] && _F_rox_override=0
+[ -z "$_F_rox_use_sourceforge" ] && _F_rox_use_sourceforge=0
if echo $pkgname | grep -q lib; then
_F_rox_installpath=/usr/lib/
else
@@ -51,22 +52,16 @@ _F_rox_installpath="$_F_rox_installpath$_F_rox_subdir"
###
# == OVERWRITTEN VARIABLES
-# * url
# * up2date (only for sourceforge)
# * source (only for sourceforge)
# * options (nodocs appended)
+# * groups
###
-if [ "$_F_rox_override" -eq 0 ]; then
- _F_rox_index_page="http://roscidus.com/desktop/software"
- A=`lynx -dump "$_F_rox_index_page" | grep "]$_F_rox_name --" | sed -n
'1p' | sed 's|.*\[\(.*\)].*|\1|'`
- url2=`lynx -dump "$_F_rox_index_page" | grep " $A. " | sed 's|^.* ||'`
- if lynx -dump "$url2" | grep -v http://sourceforge.net/projects/rox |
grep -q sourceforge.net; then
- [ -z "$_F_sourceforge_dirname" ] && _F_sourceforge_dirname=rox
- Finclude sourceforge
- fi
- url=$url2
- unset A
- unset url2
+
+if [ "$_F_rox_use_sourceforge" -eq 1 ]; then
+ _F_sourceforge_dirname=rox
+ Finclude sourceforge
+ unset url
fi
options=([EMAIL PROTECTED] 'nodocs')
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git