VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

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

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3258
HOWTO: write build scripts for cruxports4slack
« on: October 08, 2007, 12:48:13 pm »

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, 02:51:18 pm by The Headacher »
Logged

blurymind

  • Packager
  • Vectorian
  • ****
  • Posts: 1082
Re: HOWTO: write build scripts for cruxports4slack
« Reply #1 on: October 09, 2007, 02: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, 02:34:38 am by blurymind »
Logged
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, 05:21:01 am »

I wanted to comment on your "How to" as well.  Very informative, yet clear and easy to understand.  Nice job  :)
Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3258
Re: HOWTO: write build scripts for cruxports4slack
« Reply #3 on: October 09, 2007, 05:48:53 am »

Hope it helps get some more packagers involved in it ;)