Talk:Writing A SlackBuild Script: Difference between revisions

From SlackWiki
Jump to navigation Jump to search
(maybe document needs updating)
 
m (using page mainly as appendix to main slackbuild doc)
 
Line 1: Line 1:


  in a recent post on linux.org someone asked how to go about writing a slackbuild script. I thought I would follow this documentation & see how things worked out.
  in a recent post on linux.org someone asked how to go about writing a slackbuild script. I thought I would follow this documentation & see how things worked out. I successfully wrote slackbuild and got package visible in /var/log/packages as: /var/log/packages/latex2html-2019.2-i486-1_arb


The most recent release on github is v2019.2 release date 6th June 2o19. Thus i edited wget link to that download.
Example  GNU general public licence


I've tested $ wget  -O  latex2html-2019.2.tar.gz     https://github.com/latex2html/latex2html/archive/v2019.2.tar.gz and it downloads the tar.gz to my home folder with the name latex2html-2019.2.tar.gz.  
Slackware build script latex2html
converts latex docs to html
Copyright (C) 2019 <name>     <email>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSESee the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.


Also i have successfully created a package latex2html-2019.2-i486-1_SBo.tgz which launched on my 14.2 32 bit slackware box.
--[[User:Captain-sensible|Captain-sensible]] ([[User talk:Captain-sensible|talk]]) 09:22, 18 June 2019 (UTC)--[[User:Captain-sensible|Captain-sensible]] ([[User talk:Captain-sensible|talk]]) 09:22, 18 June 2019 (UTC)
 
Now when it came to the actual slackbuild file i used, i tried different approaches including Alien slackbuild kit , mksb and another.
 
Eventually i downloaded latex2html from slackbuild.org for slackware 13 or thereabouts and edited it.
 
Since this slackbuild document references latex2html  my thinking is that to further help understand a slackbuild maybe the actual slackbuild for latex would be dissected with explanation.

Latest revision as of 09:22, 18 June 2019

in a recent post on linux.org someone asked how to go about writing a slackbuild script. I thought I would follow this documentation & see how things worked out. I successfully wrote slackbuild and got package visible in /var/log/packages as: /var/log/packages/latex2html-2019.2-i486-1_arb

Example GNU general public licence

Slackware build script latex2html converts latex docs to html Copyright (C) 2019 <name> <email> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

--Captain-sensible (talk) 09:22, 18 June 2019 (UTC)--Captain-sensible (talk) 09:22, 18 June 2019 (UTC)