HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog
wiki:AddingPorts

Context Navigation

  • ← Previous Version
  • View Latest Version
  • Next Version →


Version 9 (modified by michaelvoliveira, 5 years ago) (diff)

--

Adding Ports

This page assumes you have already ported an application/library to the Haiku platform. If you aren't quite there yet, see PortingTips and Guidelines.

To add a port to the HaikuPorts tree, you have to:

  1. Create a patch for the software's original source tree. It is important that this patch is generated in such a way that HaikuPorter can automatically apply the patch. See CreatePatch.
  2. Rename the patch like such: <portname>-<version>.patch. For example, a patch for libsdl version 1.2.12 would be named libsdl-1.2.12.patch
  3. Create the BepFile. Here's an example for libsdl-1.2.12.
  4. Place the BepFile and patch - at the right location - in your local HaikuPorts tree. Look up to what category your port belongs at  http://gentoo-portage.com. The port name should also match the one on Gentoo Portage.
    • The BepFile should go in category/portname
    • The patch should go in category/portname/patches
  5. Test the BepFile and patch with HaikuPorter. Make sure HaikuPorter is able to download, unpack, patch, build and install your port.
  6. Commit the BepFile and patch to the repository. Place only BepFiles and patches in the repository.

Add your port to the list here: AddPort?

Download in other formats:

  • Plain Text

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/