Próxima revisão | Revisão anteriorPróxima revisãoAmbos lados da revisão seguinte |
pt-br:howtos:misc:anatomy_of_a_slackbuild [2020/01/07 02:13 (UTC)] – criada slackjeff | pt-br:howtos:misc:anatomy_of_a_slackbuild [2020/01/07 02:49 (UTC)] – slackjeff |
---|
<!-- Work in progress, slackjeff --> | <!-- Traduzido por: slackjeff --> |
====== Anatomia de um Slackbuild ====== | ====== Anatomia de um Slackbuild ====== |
| |
</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 package, who 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 line. If there are blanks, it's a prompt for others to chip in. It also probably means I don't fully understand that bit. </note> | <note> |
| Tentarei percorrer a linha 14.2 latex2html slackbuild por linha. Se houver espaços em branco, é um aviso para que outros participem. Provavelmente também significa que eu não entendo completamente essa parte. |
| </note> |
| |
<code> | <code> |
</code> | </code> |
| |
If I look at the package I have installed on my current 64 Bit Slackware it's : ''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 a 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 release; if 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 page, you will see that there was a 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. Assim, simplesmente nomeei a 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 a 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 "slackbuilt" package. If you look at packages in other repositories, you 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 nome, por 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> |
</code> | </code> |
| |
In computer programming languages such as php, python and others including bash there are common practices and logic. One common principle is the procedure of having a test in code. A test is applied and of course there will be a result depending on the outcome. An example of a | Nas linguagens de programação de computadores, como php, python e outras, incluindo o bash, existem práticas e lógica comuns. Um princípio comum é o procedimento de realizar um teste no código. Um teste é aplicado e, é claro, haverá um resultado dependendo do resultado. Um 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 block, quite simply the "if" is the start of an If test condition and "fi" denotes the end of a If test condition. | No bloco acima, simplesmente o "se" é o início de uma condição de teste If e "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 a 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 a variável "ARCH" contém, colocando um cifrão na frente assim: |
| |
<code> | <code> |
</code> | </code> |
| |
A -z flag can be used in an "if" statement to see if a string is empty. So 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á vazia. Então, vamos dar uma olhada na primeira linha novamente e descobrir o que isso significa. |
| |
<code> | <code> |
</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 "then" simply equates to , if the value of the variable ARCH is expressed as a string and its value is empty, do 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ão" simplesmente equivale a, se o valor da variável ARCH for expresso como uma string e seu valor estiver vazio, faç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 list. If its not found you can place on the line last in the list would you would like to do, if 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 lista. Se não for encontrado, você pode colocar na última linha da lista que gostaria de fazer, se 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 block, but if you think about the fact we want to find out the "architecture" of 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 statement, mas se pensar no fato de que queremos descobrir a "arquitetura" de 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 e 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> |
</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 code. First an "if" statement is run to see if the variable "ARCH" is empty. If there is a 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) a "case statement" is run(within the if block of code) to find a match.If a 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 a 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ódigo. Primeiro, uma instrução "if" é executada para verificar se a variável "ARCH" está vazia. Se houver um valor para a variável ARCH, nada no bloco "if" e "case interno" será executado; mas se uma string vazia for encontrada (ARCH não tem valor), uma "instrução case" será executada (dentro do if bloco de código) para encontrar uma correspondência. Se uma correspondência fosse encontrada, a variável ARCH seria configurada com o valor da correspondência encontrada e a execução do caso seria interrompida. Se a variável ARCH estava vazia e nenhuma correspondência foi encontrada na lista de casos, a 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> |
</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 works, by using the /tmp/SBo/ directory and creates a 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 window, it 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 funciona, usando o /tmp/SBo/ diretório e cria um diretório com a 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. | O TMP será definido como /tmp/SBo. |
Now lets have a look at | Agora vamos dar uma olhada |
| |
<code> | <code> |
</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 |
| |
</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 configure, make, make 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 precisamos, antes de examinarmos o restante do código, o latex2html slackbuild, para 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 fashion. When 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, o software de computador é instalado em um processo de três etapas chamado configure, make, make install. O Configure se prepara para criar o software, verificar se tudo está disponível e criar um novo arquivo make. Um 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 C language involves a C 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 prontamente. O código escrito na linguagem C envolve um compilador C 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 installed. Obviously 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 instalado. Obviamente, 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 above. The 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 acima. O 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 time. We will see later that the variable SLKFLAGS will be used to set them. | CFLAGS e CXXFLAGS são variáveis contendo valores que podem ser passados no tempo de compilação. Veremos mais adiante que a variável SLKFLAGS será usada para defini-las. |
| |
Next block of code: | Próximo bloco de código: |
| |
<code> | <code> |
</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údo) anterior do package-latex2html em/tmp/SBo/package-latex2html \\ |
mkdir -p $TMP $PKG $OUTPUT :mkdir with the " -p " flag creates directories, but only if they don't exist already.\\ | mkdir -p $TMP $PKG $OUTPUT : O mkdir com o sinalizador "-p" cria diretórios, mas 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 $CWD. ou seja, estamos de volta ao slackbuild descompactado, mas dentro da fonte descompactada. |
| |
cd $PRGNAM-$VERSION : This is a "change directory" command. The bash shell will now be working from the context that is located inside the unpacked source, which is located $CWD. i.e We are back to the unpacked slackbuild but, inside the unpacked source. | chown -R root:root . : Observe o ponto, com um espaço no final da linha; isso significa tudo no diretório atual. -R é permissão recursiva. Então, aqui 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 . \ |
</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 write. If 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 755, a fim 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" \ |
</code> | </code> |
| |
A couple of things to say here , the use of "\" is a way of using a long command over several lines. We 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 aqui, o uso de "\" é uma maneira de usar um comando longo em várias linhas. Já mencionamos CFLAGS e CXXFLAGS. Também mencionamos anteriormente a variável SLKFLAGS e aqui a usamos para definir o valor de CFLAGS e 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ápido, abra com o Ark) no CD e execute: |
| |
| |
</code> | </code> |
| |
Then you will get some useful information from the developers. It tells you the option and how you can enable some of them. | Então você vai ter alguma informação útil dos desenvolvedores. Ele mostra a opção e como você pode habilitar alguns deles. |
| |
<code> | <code> |
</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 é realizado. Nota 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> |
</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 \ |
</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 options. It 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ções. Ele basicamente faz o que diz na lata. Com 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. | O "|" ou pipe é usado para passar os resultados de um comando para outro; nesse 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 smaller, faster and take up less memory. | Para dar uma resposta sucinta, as 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> |
</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 a directory relevantly called, so that a 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 a documentação relevante em um diretório chamado de forma relevante, para que um usuário possa acessar a 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> |
</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> |
</code> | </code> |
| |
Also I had access to a comprehensive manual in pdf format; so in my case I did not write code for man pages. Instead I simply put a copy of "manual.pdf" into the /usr/doc/latex2html-2019.2 directory. | Também tive acesso a um manual abrangente em formato pdf; portanto, no meu caso, não escrevi código para páginas de manual. Em vez disso, basta colocar uma cópia do "manual.pdf" no diretório /usr/doc/latex2html-2019.2. |
| |
| |
| |
| |
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]] |
<!-- * Contributions by [[wiki:user:yyy | User Y]] --> | <!-- * Contributions by [[wiki:user:yyy | User Y]] --> |
| |