[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Diferenças

Aqui você vê as diferenças entre duas revisões dessa página.

Link para esta página de comparações

Próxima revisão
Revisão anterior
pt-br:howtos:misc:anatomy_of_a_slackbuild [2020/01/07 02:13 (UTC)] – criada slackjeffpt-br:howtos:misc:anatomy_of_a_slackbuild [2020/01/14 21:31 (UTC)] (atual) – [Fontes] slackjeff
Linha 1: Linha 1:
-<!-- Work in progress, slackjeff -->+<!-- Traduzido por: slackjeff -->
 ====== Anatomia de um Slackbuild ====== ====== Anatomia de um Slackbuild ======
  
Linha 53: Linha 53:
 </code> </code>
  
-This is commonly referred to as a //shebang//This defines that the file is a shell script and also the path to the shell interpreter.+Isso geralmente é chamado de //shebang//Isso define que o arquivo é um script de shell e também o caminho para o interpretador de shell.
  
 === SlackBuild Script === === SlackBuild Script ===
  
-We have so far described that a SlackBuild script is in essence bash code presented in a more permanent presentation of a file+Até agora, descrevemos que um script do SlackBuild é, em essência, o código de apresentação apresentado em uma apresentação mais permanente de um arquivo.
  
-At the top is the //shebang//.+No topo está o //shebang//.
  
-After that in line with slackbuilds.org requirements the next lines are the name of the packagewho wrote the script and optionally a copyright notice is added.+Depois disso, de acordo com os requisitos do slackbuilds.org, as próximas linhas são o nome do pacote, quem escreveu o script e, opcionalmente, um aviso de direitos autorais.
  
-<note>I will attempt to go through the 14.2 latex2html slackbuild line by lineIf there are blanksit's a prompt for others to chip inIt also probably means I don't fully understand that bit. </note>+<note> 
 +Tentarei percorrer a linha 14.2 latex2html slackbuild por linhaSe houver espaços em brancoé um aviso para que outros participemProvavelmente também significa que eu não entendo completamente essa parte. 
 +</note>
  
 <code> <code>
Linha 72: Linha 74:
 </code> </code>
  
-If I look at the package I have installed on my current 64 Bit Slackware it': ''latex2html-2019.2-x86_64-1_SBo''+Se eu olhar o pacote que instalei no meu Slackware de 64 bits atual, é: ''latex2html-2019.2-x86_64-1_SBo''
-Now if you look at the first line above you will see PRGNAM (program name). This is variable and its value is set to the string ''latex2html''.+Agora, se você olhar para a primeira linha acima, verá PRGNAM (nome do programa). Essa é uma variável e seu valor é definido como a string ''latex2html''.
  
-The version is related to the software source releaseif you go to the +A versão está relacionada à versão da fonte do software; se você for ao 
-[[https://github.com/latex2html/latex2html/releases|latex source]] +[[https://github.com/latex2html/latex2html/releases|fonte do lates]] 
-web pageyou will see that there was source release on June 5th 2019. Thus I simply named the version after that release+você verá que houve um lançamento de fonte em 5 de junho de 2019. Assimsimplesmente nomeei versão após esse lançamento
-For those learning bash (I still am): on the second line ''VERSION='' on the left assigns a value to the variable called VERSION.+Para quem está aprendendo bash (ainda estou): na segunda linha ''VERSION='' à esquerda atribui um valor à variável chamada VERSION.
  
-When assigning value to VERSION, why use ''VERSION=${VERSION:-2019.2}'' and not simply ''VERSION=2019.2''? \\ +Ao atribuir um valor a VERSION, por que usar ''VERSION=${VERSION:-2019.2}'' e não simplesmente''VERSION=2019.2''? \\ 
-Take the expression ''${VERSION}''This means "the value contained in variable VERSION"The more complex notation ''${VERSION:-2019.2}'' means "the value contained in variable VERSION, but if that variable does not yet have a value then use the default value of '2019.2'". \\ +Pegue a expressão ''${VERSION}''Isso significa "o valor contido na variável VERSION"A notação mais complexa ''${VERSION:-2019.2}'' significa "o valor contido na variável VERSION, mas se essa variável ainda não tiver um valor, use o valor padrão de '2019.2'". \\ 
-So that second line simply boils down to ''VERSION=2019.2''. \\ +Portanto, a segunda linha simplesmente se resume a ''VERSION=2019.2''. \\ 
-A value for VERSION can be set outside of the script: if you specified a value for ''VERSION'' on the SlackBuild command line or if it has been defined in your Bash environment.+Um valor para VERSION pode ser definido fora do script: se você especificou um valor para ''VERSION'' na linha de comando do SlackBuild ou se foi definido no seu ambiente Bash.
  
-In the same way the variable TAG is set to ''SBo'' and when the package is created this shows it's a "slackbuiltpackageIf you look at  packages in other repositoriesyou will see in the name eg ''chromium-77.0.3865.75-x86_64-1alien'' that the package is by Alien Bob.+Da mesma forma, a variável TAG é definida como ''SBo'' e quando o pacote é criado, isso mostra que é um pacote "slackbuild"Se você olhar para pacotes em outros repositórios, verá no nomepor exemplo ''chromium-77.0.3865.75-x86_64-1alien'' que o pacote é do Alien Bob.
  
-The next block of code is as follows:+O próximo bloco de código é o seguinte:
  
 <code> <code>
Linha 101: Linha 103:
 </code> </code>
  
-In computer programming languages such as php, python and others including bash  there are common practices and logicOne common principle is the procedure of  having a test in codeA test is applied and of course there will be a result depending on the outcomeAn example of a  +Nas linguagens de programação de computadores, como php, python e outras, incluindo o bash, existem práticas e lógica comunsUm princípio comum é o procedimento de realizar um teste no códigoUm teste é aplicado e, é claro, haverá um resultado dependendo do resultadoUm exemplo de 
-bash "if" block statement is   +A declaração do bloco bash "if" é  
  
 <code> <code>
-if[ test condition]+if [ test condition ]
 then then
-code to be executed depending on result+    código a ser executado dependendo do resultado
 fi fi
  
 </code> </code>
  
-In the above blockquite simply  the "if is the start of an If  test condition and "fi" denotes the end of a If test condition+No bloco acimasimplesmente o "seé o início de uma condição de teste If "fi" indica o final de uma condição de teste If. 
 + 
 +Voltando ao bash por um minuto, você pode definir uma variável do bash assim
  
-Going back to bash for a minute you can set a bash variable like so  
 <code> <code>
-ARCH=something+ARCH=alguma_coisa
 </code> </code>
-and you can get the value of variable and see what value the variable "ARCH" contains by putting a dollar sign in In front of it like so:+ 
 +e você pode obter o valor de uma variável e ver qual o valor que variável "ARCH" contém, colocando um cifrão na frente assim:
  
 <code> <code>
Linha 124: Linha 128:
 </code> </code>
  
--z flag can be used in an "if" statement to see if a string is emptySo lets have a look at the first line again and work out what it means.+Um sinalizador -z pode ser usado em uma instrução "if" para ver se uma sequência está vaziaEntão, vamos dar uma olhada na primeira linha novamente e descobrir o que isso significa.
  
 <code> <code>
Linha 130: Linha 134:
 </code> </code>
  
-In the above we don't need to see the value of ARCH; as long as we can access its value and be able to use it in the script.  So the first part before the "thensimply equates to if the value of the variable ARCH is expressed as a string and its value is emptydo something. ARCH could  represent a string value of the architecture of the PC the script is running on+Acima, não precisamos ver o valor de ARCH; contanto que possamos acessar seu valor e poder usá-lo no script. Portanto, a primeira parte antes do "entãosimplesmente equivale ase o valor da variável ARCH for expresso como uma string e seu valor estiver vaziofaça alguma coisa. ARCH pode representar um valor de seqüência da arquitetura do PC no qual o script está sendo executado.
  
-Another common algorithm is called in for instance php is the "switch statement" . This put in its simplest terms is a list  and the test is to see if a certain value you have can be found in that listIf its not found you can place on the line last in the list would you would like to doif nothing is matched.+Outro algoritmo comum é chamado, por exemplo, php é a "instrução switch"Isso posto em seus termos mais simples é uma lista e o teste é para ver se um determinado valor que você possui pode ser encontrado nessa listaSe não for encontrado, você pode colocar na última linha da lista que gostaria de fazerse nada corresponder.
  
-In bash its in principle the same idea but its referred to as "case statement" .In principle you can put anything you like in the case blockbut if you think about the fact we want to find out the "architectureof a computer and already know there are only certain possibilities then it makes sense to try out a couple of known possibilities in the list first and if there is no match do something to get an answer. arm and i586 are of course two types of computer architecture.+No bash, em princípio, é a mesma idéia, mas é chamada de "case statement" .Em princípio, você pode colocar o que quiser no case statementmas se pensar no fato de que queremos descobrir a "arquiteturade um computador e já sabemos que existem apenas algumas possibilidades, faz sentido experimentar primeiro algumas das opções conhecidas na lista e, se não houver correspondência, faça algo para obter uma resposta. arm i586 são obviamente dois tipos de arquitetura de computadores.
  
-Now if you try out this code in a terminal window:+Agora, se você tentar esse código em uma janela de terminal:
  
 <code> <code>
Linha 142: Linha 146:
 </code> </code>
  
-it should display the architecture of you PC, in my case its x86_64.+ele deve exibir a arquitetura do seu PC, no meu caso, o x86_64.
  
-So to summarize regarding the block of codeFirst an "if" statement is run to see if the variable "ARCH" is emptyIf there is value for the ARCH variable nothing in the block of  the "if" and inner "case" will run;but  if an empty string is found (ARCH has no value "case statementis run(within the if block of code to find a match.If match was found the variable ARCH would be set to the value of the match found, and the execution of the case would come to stop If the ARCH variable was empty and  no match was found in the case list then the bottom line comes int play which is:+Então, para resumir sobre o bloco de códigoPrimeiro, uma instrução "if" é executada para verificar se a variável "ARCH" está vaziaSe houver um valor para variável ARCH, nada no bloco "if" "case internoserá executadomas se uma string vazia for encontrada (ARCH não tem valor), uma "instrução case" será executada (dentro do if bloco de códigopara encontrar uma correspondênciaSe uma correspondência fosse encontrada, variável ARCH seria configurada com o valor da correspondência encontrada e execução do caso seria interrompidaSe a variável ARCH estava vazia e nenhuma correspondência foi encontrada na lista de casosa linha inferior vem int play, que é:
  
-<code>uname -m </code> is used to get a result and ARCH set to the result+<code>uname -m </code> é usado para obter um resultado e ARCH definido para o resultado.
      
      
-Don't be   fazed by the question mark in i?86 ,the question mark is a place holder that allows for possibilities via regex. it could be "3" (i386) , "6"( i686) etc.+Não se assuste com o ponto de interrogação no i?86, o ponto de interrogação é um espaço reservado que permite possibilidades via regex. pode ser "3" (i386), "6" (i686) etc.
  
-Next block of code+Próximo bloco de código:
  
 <code> <code>
Linha 160: Linha 164:
 </code> </code>
  
-Before we go into this let me have a look in my slackware file  system and see whats there at /tmp/SBo.Taking a quick look at the image will give you a clue that the slackbuild worksby using the /tmp/SBo/ directory and creates directory with the syntax package-packagename.So if we now have a look at the code above. CWD (current working directory is a  variable and is set to the value of pwd. If you run that in a terminal windowit will tell you where you in a bash context where you are working from.{{ howtos:misc:tmp_Sbo.gif }}+Antes de entrarmos nisso, vamos dar uma olhada no meu sistema de arquivos do slackware e ver o que há em /tmp/SBo. Fazendo uma rápida olhada na imagem, você terá uma pista de que o slackbuild funcionausando o /tmp/SBo/ diretório e cria um diretório com sintaxe package-packagename. Se agora dermos uma olhada no código acima. CWD (diretório de trabalho atualé uma variável e é definido como o valor de pwd. Se você executar isso em uma janela de terminal, ele informará onde você está no contexto do bash de onde está trabalhando. {{ howtos:misc:tmp_Sbo.gif }}
  
-TMP is going to be set to /tmp/SBo. +TMP será definido como /tmp/SBo. 
-Now lets have a look at +Agora vamos dar uma olhada
  
 <code> <code>
Linha 169: Linha 173:
 </code> </code>
      
-You might guess PKG is going to be set for latex2html to :+Você pode imaginar que o PKG será definido para latex2html como:
 <code> <code>
 /tmp/SBo/package-latex2html /tmp/SBo/package-latex2html
 </code> </code>
  
-If you look closely at the image (taking into account /tmp/SBo/ at top of image you will see exactly that in the image.OUTPUT is set to  /tmp \\+Se você olhar atentamente para a imagem (levando em consideração /tmp/SBo/ na parte superior da imagem), verá exatamente isso na imagem.OUTPUT está definido como /tmp \\ 
 + 
 +Próximo bloco de código:
  
-Next block of code: 
 <code> <code>
 if [ "$ARCH" = "i586" ]; then if [ "$ARCH" = "i586" ]; then
Linha 193: Linha 198:
  
 </code> </code>
-Probably we need, before we look at the rest of the code for  latex2html slackbuild to introduce  some basic concepts. 
  
-Historically computer software is installed  in  a three step process  called configuremakemake install. Configure gets ready to build the software see if everything needed is there and builds a new make file. A make file is a file that contains instructions to build a program+Provavelmente precisamosantes de examinarmos o restante do códigoo latex2html slackbuildpara introduzir alguns conceitos básicos.
  
-You can from the command line install software just using configure, make and make install. A slackbuild does the job of creating a package so that the process of installing is more manageable and reliable fashionWhen you have a slackbuild downloaded on your system should there be a new release of source code its a simple matter of putting  that source in your unpacked slackbuild and a quick edit to the slackbuild script+Historicamente,software de computador é instalado em um processo de três etapas chamado configure, makemake install. O Configure se prepara para criar o software, verificar se tudo está disponível e criar um novo arquivo makeUm arquivo make é um arquivo que contém instruções para criar um programa.
  
 +Na linha de comando, você pode instalar o software apenas usando configure, make e make install. Um slackbuild faz o trabalho de criar um pacote para que o processo de instalação seja mais gerenciável e confiável. Quando você faz o download de um slackbuild em seu sistema, deve haver uma nova versão do código-fonte; basta colocar essa fonte no slackbuild descompactado e editar rapidamente o script do slackbuild.
  
-Computer program source  are written in “high level “ languages but are converted into a form that the computer can readily understand.Code written in the language involves a compiler converted it to binary.+A fonte do programa de computador é escrita em linguagens de "alto nível", mas é convertida em um formato que o computador possa entender prontamenteO código escrito na linguagem envolve um compilador que o converteu em binário.
  
-The whole goal of any system  installing a program, is that it should involve the concept of making it tailor made” for the computer its being installedObviously that is going to involve the computer Architecture.  +O objetivo de qualquer sistema que esteja instalando um programa é que ele envolva o conceito de torná-lo feito sob medida” para o computador que está sendo instaladoObviamente, isso envolverá a arquitetura do computador
-During the compile process the system can be tweaked by passing in options from variables+Durante o processo de compilação, o sistema pode ser ajustado passando opções de variáveis.
  
-So lets now have a look at the block of code aboveThe block of code is simply an "if , else block" , where the code is executed top to bottom and amounts to -if the architecture is i586 set SLKFLAGS to .. if not go to next line.+Vamos agora dar uma olhada no bloco de código acimaO bloco de código é simplesmente um bloco "if, else", onde o código é executado de cima para baixo e equivale a -se a arquitetura é i586, defina SLKFLAGS como .. se não vá para a próxima linha.
  
-CFLAGS and CXXFLAGS are variables holding values that can be passed in at compile timeWe will see later that the variable SLKFLAGS will be used to set them+CFLAGS CXXFLAGS são variáveis ​​contendo valores que podem ser passados ​​no tempo de compilaçãoVeremos mais adiante que a variável SLKFLAGS será usada para defini-las.
  
-Next block of code:+Próximo bloco de código:
  
 <code> <code>
Linha 227: Linha 232:
 </code> </code>
  
-set -e: this stops the execution of the script if there is an  error executing this code following this command \\ +set -e: isso interrompe a execução do script se houver um erro ao executar este código após este comando \\ 
-rm -rf $PKG: this  deletes any previous directory (and contents of   package-latex2html at  of /tmp/SBo/package-latex2html \\ +rm -rf $PKG: isso exclui qualquer diretório (e conteúdoanterior do package-latex2html em/tmp/SBo/package-latex2html \\ 
-mkdir -p $TMP $PKG $OUTPUT :mkdir with the " -p " flag creates  directoriesbut only if they don't exist already.\\+mkdir -p $TMP $PKG $OUTPUT : mkdir com o sinalizador "-p" cria diretóriosmas somente se eles já não existirem. \\
  
-that would be /tmp/SBo , /tmp/Sbo/package-latex2html, /tmp \\+isso seria /tmp/SBo , /tmp/Sbo/package-latex2html, /tmp \\
  
 +É improvável que o diretório SBo não exista, a menos que nenhum outro slackbuilds tenha sido executado no passado. /tmp deve estar lá como padrão na instalação do slackware. \\ 
 +cd $tmp : move o local onde o bash está trabalhando para /tmp/SBo \\
  
-Its  unlikely that the SBo directory doesn't exist unless no other slackbuilds have been run in the past . /tmp should be there as default with the  slackware installation. \\  +rm -rf $PRGNAM-$VERSION irá se livrar de quaisquer entradas anteriores do diretório (talvez falhe) para latex2html-2019.2 \\
-cd $tmp : moves location where bash is  working from to /tmp/SBo \\+
  
-rm -rf $PRGNAM-$VERSION will get rid of any previous directory entries(maybe failed)  for latex2html-2019.2  \\+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz : Isso equivale a descompactar latex2html-2019.2.tar.gz, que estaria dentro do slackbuild descompactado do slackbuilds.org "latex2html".\\
  
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz This equated to unpacking of  latex2html-2019.2.tar.gz which would be inside the unpacked slackbuild from slackbuilds.org namely "latex2html".\\+cd $PRGNAM-$VERSION : Este é um comando "alterar diretório"O shell bash agora estará funcionando a partir do contexto localizado dentro da fonte descompactada, localizada em $CWDou sejaestamos de volta ao slackbuild descompactado, mas dentro da fonte descompactada.
  
-cd $PRGNAM-$VERSION This  is a "change directory" commandThe bash shell will now be working from the context that is located inside the unpacked  sourcewhich is located $CWDi.e We are back to the unpacked slackbuild butinside the unpacked source.+chown -R root:root : Observe o pontocom um espaço no final da linha; isso significa tudo no diretório atual-R é permissão recursivaEntãoaqui estamos dando propriedade ao root e grupo root.
  
-chown -R root:root . : Notice the dot , with a space at the end of the line; this means all in current directory. -R is permission recursive. So here we are giving ownership to root and group root. 
 <code> <code>
  find -L . \  find -L . \
Linha 252: Linha 257:
 </code> </code>
  
-If i understand the above block of code correctly its using the "find" on the basis of permissions and following symbolic links using the "-L flag"If i understand this correctly its basically setting directories to 755 in order to enable a "cd" into them and files so that root can read writeIf this is true I might  have expected+Se eu entendi o bloco de código acima corretamente, use o "find" com base nas permissões e siga os links simbólicos usando o "-L flag"Se eu entendi isso corretamente, basicamente defini os diretórios para 755fim de ativar um "cd" neles e nos arquivos para que o root possa ler a gravação. 
 <code> <code>
 -type d -exec chmod 775 {}  -type d -exec chmod 775 {} 
 </code>  </code> 
  
-For directories  and +Para diretório 
 <code> <code>
 -type f -exec chmod 644 {} -type f -exec chmod 644 {}
  
 </code> </code>
-For files+ 
-Next block of code+Para arquivos
 + 
 +Próximo bloco de código: 
 <code> <code>
 CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
Linha 283: Linha 292:
 </code> </code>
  
-A couple of things to say here the use of "\" is a way of using a long command over several linesWe have already mentioned CFLAGS and CXXFLAGS. We also previously mentioned the variable SLKFLAGS and here we use it to set the value of CFLAGS and CXXFLAGS. +Algumas coisas a dizer aquio uso de "\" é uma maneira de usar um comando longo em várias linhasJá mencionamos CFLAGS CXXFLAGS. Também mencionamos anteriormente a variável SLKFLAGS e aqui a usamos para definir o valor de CFLAGS CXXFLAGS.
  
-In this latex2html slackbuild script we also utilize a three step process of configure, make, make install. +Nesse script latex2html slackbuild, também utilizamos um processo de três etapas para o configure, make, make install. 
-But what about the likes of  --enable-eps , where does that come from ?+Mas e quanto a --enable-eps, de onde isso vem?
  
-Well if you take the source code  [[https://github.com/latex2html/latex2html/archive/v2019.2/latex2html-2019.2.tar.gz | latex2html source]]unpack it a quick way is right click open with Ark) cd into it and run :+Bem, se você pegar o código fonte  [[https://github.com/latex2html/latex2html/archive/v2019.2/latex2html-2019.2.tar.gz | latex2html source]] descompacte-o (clique rápidoabra com o Ark) no CD e execute:
  
  
Linha 295: Linha 304:
 </code> </code>
  
-Then you will get some useful information from the developersIt tells you the option and how you can enable some of them+Então você vai ter alguma informação útil dos desenvolvedoresEle mostra a opção e como você pode habilitar alguns deles.
  
 <code> <code>
Linha 302: Linha 311:
 </code> </code>
  
-Here, make, make install are carried out.Note DESTDIR is a flag to say where the package will go. \\+Aqui o, make install é realizadoNota DESTDIR é uma flag para dizer para onde o pacote vai ser instalado \\
    
-$PKG equates to /tmp/SBo/package-latex2html+$PKG equivale a /tmp/SBo/package-latex2html
  
-Next Block of code:\\+Próximo bloco de código: \\
  
 <code> <code>
Linha 328: Linha 337:
 </code> </code>
  
-The first two lines of this block are a bit of a mouth-full:+As duas primeiras linhas desse bloco são um pouco complicadas. 
 <code> <code>
 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
Linha 334: Linha 344:
 </code> </code>
  
-We can however pick out key words that are commands and that can help to make some sense of it+No entanto, podemos escolher as palavras-chave que são comandos e que podem ajudar a entender isso
-ind" located at /usr/bin/find is a powerful utility  that has around 50 optionsIt basically does what it says on the can.With the -print0 option it separates what it finds with "\000"  in a word NULL. +ind "localizado em /usr/bin/find é um utilitário poderoso que possui cerca de 50 opçõesEle basicamente faz o que diz na lataCom a opção -print0, ele separa o que encontra com "\000"em uma palavra NULL .
  
-The "|" or pipe is used to pass the results of a command to another;in this case xargs which has a flag -0. This option  is for xargs to accept input that has /000 between them. ELF is is Executable & Linkable Format.+"|" ou pipe é usado para passar os resultados de um comando para outronesse caso, xargs que possui um sinalizador -0. Essa opção é para o xargs aceitar a entrada que possui /000 entre eles. ELF é é executável e formato vinculável.
  
-To give a succinct answer the two lines are removing debugging symbols and other unnecessary stuff to make the binaries smallerfaster and take up less memory.+Para dar uma resposta sucintaas duas linhas estão removendo símbolos de depuração e outras coisas desnecessárias para tornar os binários menores, mais rápidos e ocupar menos memória.
  
 <code> <code>
Linha 345: Linha 355:
 </code> </code>
  
-Here we are preparing a directory which will be called "latex2html-2019.2" located at  /usr/doc. This is so we an put relevant documentation into directory relevantly calledso that user can access documentation on the package+Aqui estamos preparando um diretório que será chamado "latex2html-2019.2" localizado em /usr/doc. Assim, colocamos documentação relevante em um diretório chamado de forma relevantepara que um usuário possa acessar documentação no pacote
-The next lines put files such as  README.md into the /usr/doc/latex2html-2019.2 directory.+As próximas linhas colocam arquivos como  README.md dentro do diretório /usr/doc/latex2html-2019.2.
  
 <code> <code>
Linha 352: Linha 362:
 </code> </code>
  
-That line goes back to the original directory that Latex2html.SlackBuild was run from i previously quoted Desktop) opens up the SlackBuild with "cat"  command and copies it to the documentation directory.  +Essa linha volta ao diretório original do qual o Latex2html.SlackBuild foi executado (citei anteriormente o Desktop) abre o SlackBuild com o comando "cat" e o copia para o diretório de documentação
-Now before I submitted latex2html to slackbuilds obviously I did some testing and found that when the package was installed it had a fairly comprehensive output of what it could do just using+Antes de enviar o latex2html para o slackbuilds, obviamente fiz alguns testes e descobri que quando o pacote foi instalado, havia uma saída bastante abrangente do que poderia ser feito usando:
  
 <code> <code>
Linha 359: Linha 369:
 </code>  </code> 
  
-Also I had access to comprehensive manual in pdf formatso in my case I did not write code for man pagesInstead I simply put a copy of "manual.pdf" into the /usr/doc/latex2html-2019.2 directory.+Também tive acesso um manual abrangente em formato pdf; portanto, no meu caso, não escrevi código para páginas de manualEm vez disso, basta colocar uma cópia do "manual.pdf" no diretório /usr/doc/latex2html-2019.2.
  
  
Linha 367: Linha 377:
  
  
-Blank slackbuild templates can be obtained from : [[https://slackbuilds.org/templates/]]+Modelos de slackbuild em branco podem ser obtidos em : [[https://slackbuilds.org/templates/]]
  
-====== Sources ======+====== Fontes ======
 <!-- If you are copying information from another source, then specify that source --> <!-- If you are copying information from another source, then specify that source -->
 <!-- * Original source: [[http://some.website.org/some/page.html]] --> <!-- * Original source: [[http://some.website.org/some/page.html]] -->
  
-I am using a SlackBuild script that i submitted to slackbuilds.org: [[https://slackbuilds.org/repository/14.2/academic/latex2html/?search=latex2html | latex2html slackbuild]]+Estou usando um script SlackBuild que enviei para slackbuilds.org:[[https://slackbuilds.org/repository/14.2/academic/latex2html/?search=latex2html|latex2htmlslackbuild]] 
 <!-- Authors are allowed to give credit to themselves! --> <!-- Authors are allowed to give credit to themselves! -->
-Originally written by [[wiki:user:captain_sensible|andy brookes]]+  Originalmente escrito por [[wiki:user:captain_sensible|andy brookes]] 
 +  *  --- //[[wiki:user:slackjeff|slackjeff]] 2020/01/14 18:31 (BRT)//
 <!-- * Contributions by [[wiki:user:yyy | User Y]] --> <!-- * Contributions by [[wiki:user:yyy | User Y]] -->
  
 pt-br:howtos:misc:anatomy_of_a_slackbuild ()