Please support VectorLinux!

Author Topic: HOWTO: write build scripts for cruxports4slack  (Read 3263 times)

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3208
HOWTO: write build scripts for cruxports4slack
« on: October 08, 2007, 11:48:13 am »
This howto explains how to write scripts that the new cruxports4slack uses to build applications (ports).

The new ports system works great, and it'd be nice to get some of you out there to contribute to the ports repo as well. This howto should get you started on how to write such scripts. It rather simple actually, much easier than writing SlackBuild, and just as functional.

We do have our own (small at the time) collection of scripts.
http://vectorlinux.osuosl.org/veclinux-5.9/ports/

I hope a lot more packagers get involved in this method of packaging as well.
Here is the link to the howto
http://vectorlinux.com/wiki/doku.php?id=howtos:porting

« Last Edit: October 08, 2007, 01:51:18 pm by The Headacher »

blurymind

  • Packager
  • Vectorian
  • ****
  • Posts: 1082
Re: HOWTO: write build scripts for cruxports4slack
« Reply #1 on: October 09, 2007, 01:29:36 am »
an excellent howto!
There is a way to set the source as svn/git/cvs, right... but that would mean big changes to the script.

oh,i found one sample:
http://vectorlinux.osuosl.org/veclinux-5.9/ports/kiba-dock/Pkgfile

Thanks,Moe. The crux ports system has such a clean and easy to understand/edit code. I think it was a very smart choice over the slackbuilds.
I can feel the excitement in the air.
« Last Edit: October 09, 2007, 01:34:38 am by blurymind »
status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: HOWTO: write build scripts for cruxports4slack
« Reply #2 on: October 09, 2007, 04:21:01 am »
I wanted to comment on your "How to" as well.  Very informative, yet clear and easy to understand.  Nice job  :)

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3208
Re: HOWTO: write build scripts for cruxports4slack
« Reply #3 on: October 09, 2007, 04:48:53 am »
Hope it helps get some more packagers involved in it ;)