wok-6.x rev 3551
scim-tables: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 23 08:56:37 2009 +0200 (2009-06-23) |
parents | 6e4432a1f402 |
children | 66f602bccca4 52621cb45fad |
files | scim-tables/receipt tazpkg-web/stuff/search.cgi |
line diff
1.1 --- a/scim-tables/receipt Tue Jun 23 13:59:17 2009 +0800 1.2 +++ b/scim-tables/receipt Tue Jun 23 08:56:37 2009 +0200 1.3 @@ -9,7 +9,7 @@ 1.4 BUILD_DEPENDS="scim-dev expat-dev" 1.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.6 WEB_SITE="http://www.scim-im.org/" 1.7 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.8 +WGET_URL="$SF_MIRROR/scim/$TARBALL" 1.9 LOCALE="" 1.10 1.11 # Rules to configure and make the package.
2.1 --- a/tazpkg-web/stuff/search.cgi Tue Jun 23 13:59:17 2009 +0800 2.2 +++ b/tazpkg-web/stuff/search.cgi Tue Jun 23 08:56:37 2009 +0200 2.3 @@ -152,6 +152,7 @@ 2.4 esac 2.5 2.6 WOK=/home/slitaz/$SLITAZ_VERSION/wok 2.7 +PACKAGES_REPOSITORY=/home/slitaz/$SLITAZ_VERSION/packages 2.8 2.9 echo Content-type: text/html 2.10 echo 2.11 @@ -231,7 +232,7 @@ 2.12 { 2.13 cat << _EOT_ 2.14 <center> 2.15 -<i>$(ls /home/slitaz/$SLITAZ_VERSION/wok/ | wc -l) packages and $(unlzma -c /home/slitaz/$SLITAZ_VERSION/packages/files.list.lzma | wc -l) files in $SLITAZ_VERSION database</i> 2.16 +<i>$(ls $WOK/ | wc -l) packages and $(unlzma -c $PACKAGES_REPOSITORY/files.list.lzma | wc -l) files in $SLITAZ_VERSION database</i> 2.17 </center> 2.18 2.19 <!-- End of content with round corner --> 2.20 @@ -423,7 +424,7 @@ 2.21 <pre class="package"> 2.22 _EOT_ 2.23 last="" 2.24 - unlzma -c /home/slitaz/$SLITAZ_VERSION/packages/files.list.lzma \ 2.25 + unlzma -c $PACKAGES_REPOSITORY/files.list.lzma \ 2.26 | grep $SEARCH | while read pkg file; do 2.27 echo "$file" | grep -q $SEARCH || continue 2.28 if [ "$last" != "${pkg%:}" ]; then 2.29 @@ -445,7 +446,7 @@ 2.30 <pre class="package"> 2.31 _EOT_ 2.32 last="" 2.33 - unlzma -c /home/slitaz/$SLITAZ_VERSION/packages/files.list.lzma \ 2.34 + unlzma -c $PACKAGES_REPOSITORY/files.list.lzma \ 2.35 | grep ^$SEARCH: | sed 's/.*: / /' | sort 2.36 elif [ "$OBJECT" = "Desc" ]; then 2.37 cat << _EOT_ 2.38 @@ -454,7 +455,7 @@ 2.39 <pre class="package"> 2.40 _EOT_ 2.41 last="" 2.42 - grep -i $SEARCH /home/slitaz/$SLITAZ_VERSION/packages/packages.desc | \ 2.43 + grep -i $SEARCH $PACKAGES_REPOSITORY/packages.desc | \ 2.44 sort | while read pkg extras ; do 2.45 . $WOK/$pkg/receipt 2.46 cat << _EOT_ 2.47 @@ -501,7 +502,7 @@ 2.48 <a href="$SLITAZ_VERSION/$CATEGORY.html#$PACKAGE">$PACKAGE</a> : $SHORT_DESC 2.49 _EOT_ 2.50 done 2.51 - equiv=/home/slitaz/$SLITAZ_VERSION/packages/packages.equiv 2.52 + equiv=$PACKAGES_REPOSITORY/packages.equiv 2.53 vpkgs="$(cat $equiv | cut -d= -f1 | grep $SEARCH)" 2.54 for vpkg in $vpkgs ; do 2.55 cat << _EOT_