File: README

package info (click to toggle)
pcb 20140316-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 22,212 kB
  • ctags: 16,012
  • sloc: ansic: 123,955; sh: 7,306; yacc: 5,087; pascal: 4,118; makefile: 1,559; perl: 552; lex: 438; awk: 157; lisp: 86; tcl: 63; xml: 20
file content (50 lines) | stat: -rw-r--r-- 2,054 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
========
Minipack
========

Homepage: http://code.google.com/p/minipack
This minipack distribution was customized for the PCB project.

Minipack is an automated build tool. Given a set of recipes and patches, it
downloads the sources, unpacks them, applies local patches, builds them and
installs them. Its primary use is for cross-compiling free software to
Windows, but minipack is more general-purpose than that.

To install, unpack it in any directory, and optionally set the PATH to it.

The tool can be run from anywhere, but it looks for a minipack.conf file
in the current directory or in a parent directory.

Some recipes for cross-compiling to Windows are included in the distribution:
* libraries: gtk+, guile, gd, freetype, libpng, jpeg, zlib, gettext.
* applications: gEDA/gaf, PCB.
See the 'recipes' directory for a full list.

When cross-compiling, you need a suitable cross-compiler for the host you are
targeting. On Debian and derivatives, you can type 'sudo apt-get install mingw32'
to get a MinGW cross-compiler. You can also build your own by using the build
script provided by the MinGW project.

Modify the host setting in the minipack.conf file to reflect the cross-compiler
being used. It can be found as the prefix of the compiler, eg. i586-mingw32msvc.

The build-all.sh script can be used to build all packages in one run. Edit the
BUILD list to select only a subset. Beware, some recipes require a native
version of pkg-config, others need the autotools and/or intltool as well.

=======
  mpk
=======

The main (and only) tool of minipack is called mpk:
* mpk build <package>  - download, unpack, and build a package.
* mpk unpack <package> - download and unpack a package
* mpk source <package> - download a source package
* mpk shell [package]  - enter a shell with a pre-defined build environment

A cache of downloaded sources is kept in the 'sources' directory.

To add more recipes to minipack, place the recipe in the 'recipes' directory
and place the patches in a subdirectory of the 'patches' directory.

Have fun!