]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
correção do path das fontes nos slackbuilds: qemu, broffice, scilab, lame, skype...
authorrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>
Tue, 31 Oct 2006 15:10:49 +0000 (15:10 +0000)
committerrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>
Tue, 31 Oct 2006 15:10:49 +0000 (15:10 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@555 370017ae-e619-0410-ac65-c121f96126d4

kile/kile.SlackBuild
kqemu/kqemu.SlackBuild
lame/lame.SlackBuild
qemu/qemu.SlackBuild
scilab/scilab.SlackBuild
skype/skype.SlackBuild

index 576e1e68df80ffecefafe2bdffb23aef6d20cdb0..dde5a4eae60539cbf7c580806c67ed6b32101b52 100755 (executable)
@@ -64,11 +64,11 @@ fi
 
 # ----------------  Download fontes  ----------------------
 # Fonte a ser compilada, com o path
-SOURCE=$SRC_DIR/$SRC
+SOURCE=$SRC_DIR/$PACKGE/$SRC
 # Verifica existência do pacote em $SRC em $SRC_DIR
 if [ ! -e $SOURCE ]; then
     echo -e "\n\n\033[01;32m Download $PACKAGE \n\033[m"
-    wget "$URL" -P "$SRC_DIR/"
+    wget "$URL" -P "$SRC_DIR/$PACKAGE"
     # Verifica se o
     if [ $? -ne 0 ]; then
         echo -e "\n\n\033[01;31m No such source file in $URL\n\033[m"
@@ -78,7 +78,7 @@ fi
 
 # ------------------  Checa md5sum  -----------------------
 if [ "$SRC_ORIG" = "$SRC" -o "$MD5" != "$MD5_ORIG" -a "$MD5" != "no" ]; then
-    SUM=`md5sum $SRC_DIR/$SRC | awk '{print $1}'`
+    SUM=`md5sum $SOURCE | awk '{print $1}'`
     if [ "$SUM" != "$MD5" ]; then
         echo -e "\n\n\033[01;31m MD5SUM error: run Slackbuild again \n\033[m"
         echo -e "\033[01;31m Remove $PACKAGE from $SRC_DIR and start Slackbuild again or use MD5=\"no\" \n\033[m"
index 17979e85817c2c387d82ac04badcf140bd46b2b9..539f115a1086f3b897a42ff458141ad67363666b 100755 (executable)
@@ -23,7 +23,8 @@ EXTENSION=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)\.\(.*\..*\)$/\3/'`
 # -------  Códigos de erro para o createpkg  --------------
 ERROR_WGET=31;      ERROR_MAKE=32;      ERROR_INSTALL=33
 ERROR_MD5=34;       ERROR_CONF=35;      ERROR_HELP=36
-ERROR_TAR=37;       ERROR_MKPKG=38
+ERROR_TAR=37;       ERROR_MKPKG=38;     ERROR_GPG=39
+ERROR_PATCH=40;     ERROR_VCS=41
 
 # ---------  Inicializa variáveis de entrada  -------------
 PACKAGE=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)\.\(.*\..*\)$/\1/'`
index 9dc8e8d67c0ceddb0bb8f455ecdcbf263b90ce3f..ef351e79fdc967931a5b7ef1d5e4e94889520933 100755 (executable)
@@ -26,7 +26,6 @@ ERROR_MD5=34;       ERROR_CONF=35;      ERROR_HELP=36
 ERROR_TAR=37;       ERROR_MKPKG=38;     ERROR_GPG=39
 ERROR_PATCH=40;     ERROR_VCS=41
 
-
 # ---------  Inicializa variáveis de entrada  -------------
 PACKAGE=`echo $SRC_ORIG | sed 's/\(.*\)-\(.*\)\.\(.*\..*\)$/\1/'`
 ARCH=${ARCH:=i468}
@@ -69,11 +68,11 @@ fi
 
 # ----------------  Download fontes  ----------------------
 # Fonte a ser compilada, com o path
-SOURCE=$SRC_DIR/$SRC
+SOURCE=$SRC_DIR/$PACKAGE/$SRC
 # Verifica existência do pacote $SRC em $SRC_DIR
 if [ ! -e $SOURCE ]; then
     echo -e "\n\n\033[01;32m Download $PACKAGE \n\033[m"
-    wget "$URL" -P "$SRC_DIR/"
+    wget "$URL" -P "$SRC_DIR/$PACKAGE/"
     # Verifica se o
     if [ $? -ne 0 ]; then
         echo -e "\n\n\033[01;31m No such source file in $URL\n\033[m"
@@ -83,7 +82,7 @@ fi
 
 # ------------------  Checa md5sum  -----------------------
 if [ "$SRC_ORIG" = "$SRC" -o "$MD5" != "$MD5_ORIG" -a "$MD5" != "no" ]; then
-    SUM=`md5sum $SRC_DIR/$SRC | awk '{print $1}'`
+    SUM=`md5sum $SOURCE | awk '{print $1}'`
     if [ "$SUM" != "$MD5" ]; then
         echo -e "\n\n\033[01;31m MD5SUM error: run Slackbuild again \n\033[m"
         echo -e "\033[01;31m Remove $PACKAGE from $SRC_DIR and start Slackbuild again or use MD5=\"no\" \n\033[m"
index b1bdc70f6e5c2e17c3a2c99bff606982d33c6fbe..4805a63fbb0d8529a3bbf0d66bcb5dca904f8795 100755 (executable)
@@ -64,11 +64,11 @@ fi
 
 # ----------------  Download fontes  ----------------------
 # Fonte a ser compilada, com o path
-SOURCE=$SRC_DIR/$SRC
+SOURCE=$SRC_DIR/$PACKAGE/$SRC
 # Verifica existência do pacote em $SRC em $SRC_DIR
 if [ ! -e $SOURCE ]; then
     echo -e "\n\n\033[01;32m Download $PACKAGE \n\033[m"
-    wget "$URL" -P "$SRC_DIR/"
+    wget "$URL" -P "$SRC_DIR/$PACKAGE/"
     # Verifica se o
     if [ $? -ne 0 ]; then
         echo -e "\n\n\033[01;31m No such source file in $URL\n\033[m"
@@ -78,7 +78,7 @@ fi
 
 # ------------------  Checa md5sum  -----------------------
 if [ "$SRC_ORIG" = "$SRC" -o "$MD5" != "$MD5_ORIG" -a "$MD5" != "no" ]; then
-    SUM=`md5sum $SRC_DIR/$SRC | awk '{print $1}'`
+    SUM=`md5sum $SOURCE | awk '{print $1}'`
     if [ "$SUM" != "$MD5" ]; then
         echo -e "\n\n\033[01;31m MD5SUM error: run Slackbuild again \n\033[m"
         echo -e "\033[01;31m Remove $PACKAGE from $SRC_DIR and start Slackbuild again or use MD5=\"no\" \n\033[m"
index a9aa78f9de3e135be9ae66519ae4bac62203277a..4a374ff1a1fa4140fa9aa90384012bb3c53271d5 100755 (executable)
@@ -63,11 +63,11 @@ fi
 
 # ----------------  Download fontes  ----------------------
 # Fonte a ser compilada, com o path
-SOURCE=$SRC_DIR/$SRC
+SOURCE=$SRC_DIR/$PACKAGE/$SRC
 # Verifica existência do pacote em $SRC em $SRC_DIR
 if [ ! -e $SOURCE ]; then
     echo -e "\n\n\033[01;32m Download $PACKAGE \n\033[m"
-    wget "$URL" -P "$SRC_DIR/"
+    wget "$URL" -P "$SRC_DIR/$PACKAGE/"
     # Verifica se o
     if [ $? -ne 0 ]; then
         echo -e "\n\n\033[01;31m No such source file in $URL\n\033[m"
@@ -77,7 +77,7 @@ fi
 
 # ------------------  Checa md5sum  -----------------------
 if [ "$SRC_ORIG" = "$SRC" -o "$MD5" != "$MD5_ORIG" -a "$MD5" != "no" ]; then
-    SUM=`md5sum $SRC_DIR/$SRC | awk '{print $1}'`
+    SUM=`md5sum $SOURCE | awk '{print $1}'`
     if [ "$SUM" != "$MD5" ]; then
         echo -e "\n\n\033[01;31m MD5SUM error: run Slackbuild again \n\033[m"
         echo -e "\033[01;31m Remove $PACKAGE from $SRC_DIR and start Slackbuild again or use MD5=\"no\" \n\033[m"
index ea78701735bfbb13a7bb4a80f09bd372746207ca..dcaa8f81978b222369873b74084200e4234e3f56 100755 (executable)
@@ -64,11 +64,11 @@ fi
 
 # ----------------  Download fontes  ----------------------
 # Fonte a ser compilada, com o path
-SOURCE=$SRC_DIR/$SRC
+SOURCE=$SRC_DIR/$PACKAGE/$SRC
 # Verifica existência do pacote em $SRC em $SRC_DIR
 if [ ! -e $SOURCE ]; then
     echo -e "\n\n\033[01;32m Download $SRC \n\033[m"
-    wget "$URL" -P "$SRC_DIR/"
+    wget "$URL" -P "$SRC_DIR/$PACKAGE/"
     # Verifica se o
     if [ $? -ne 0 ]; then
         echo -e "\n\n\033[01;31m No such source file in $URL\n\033[m"
@@ -78,7 +78,7 @@ fi
 
 # ------------------  Checa md5sum  -----------------------
 if [ "$SRC_ORIG" = "$SRC" -o "$MD5" != "$MD5_ORIG" -a "$MD5" != "no" ]; then
-    SUM=`md5sum $SRC_DIR/$SRC | awk '{print $1}'`
+    SUM=`md5sum $SOURCE | awk '{print $1}'`
     if [ "$SUM" != "$MD5" ]; then
         echo -e "\n\n\033[01;31m MD5SUM error: run Slackbuild again \n\033[m"
         echo -e "\033[01;31m Remove $PACKAGE from $SRC_DIR and start Slackbuild again or use MD5=\"no\" \n\033[m"