Haiku Inc

Create a recipe for dmtx-utils

Haiku is a UNIX-like open source operating system that provides a tool called haikuporter to build 3rd party open source software.

A recipe in Haiku is a text file that the haikuporter tool reads in order to build open source software and create packages for it. The collection of recipes that may be built by haikuporter is called HaikuPorts.

If you are new to Haiku then you should probably start with these tasks:

The goal of this task is to write a recipe for dmtx-utils, a set of 3 utilities for reading and writing Data Matrix 2D barcodes.

You can find the sources on the project homepage: http://libdmtx.sourceforge.net/


1) The name of the recipe should be dmtx_utils-0.7.4.recipe (i.e. with an underscore between "dmtx" and "utils") but the name of the directory should be dmtx-utils.

2) the SOURCE_URI to use is: https://downloads.sourceforge.net/libdmtx/dmtx-utils-0.7.4.tar.gz (but you should replace the "0.7.4" by $portVersion when defining SOURCE_URI.)

3) the SOURCE_DIR to use is: dmtx-utils-$portVersion

This is required because the name of the recipe does not correspond exactly to the name of the directory in the source tarball.

The recipe should be added to haikuports at haikuports/media-gfx/dmtx-utils/.

Important: please read the generic instructions for "recipe" tasks, as we have a lot of these: https://dev.haiku-os.org/wiki/GoogleCodeInTaskRecipe

Task tags

  • haikuports
  • porting
  • recipe
  • patching
  • media-gfx

Students who completed this task

Dacian Florentin Florea

Task type

  • code Code