Option --brief tells "file" not to prepend filenames
to output lines. Using this option is better than parsing
standard format of output of "file" with a regular expression.
Some filenames contain ":". This confuses the regular
expression:
[build-pkg] i686-w64-mingw32.static
Can't get type of file usr/i686-w64-mingw32.static/share/
gtk-doc/html/libgda-4.0/gen:sql_identifiers.html (libgda).
file says "usr/i686-w64-mingw32.static/share/gtk-doc/html/
libgda-4.0/gen:sql_identifiers.html:
HTML document, ASCII text"
Example: usr/i686-w64-mingw32.static/bin/luajit
This file must have '.exe' in name, but build-pkg
doesn't catch this error, because it's type was
"symbolic link to luajit-2.0.4".
With option --dereference, "file" follows symlinks.
For usr/i686-w64-mingw32.static/bin/luajit it returns
"PE32 executable (console) Intel 80386 (stripped to external
PDB), for MS Windows".
* libopts_cv_with_libregex=no is not in ./configure
* dist-lzip isn't used by MXE, but can be worked around with
the make variables DIST_ARCHIVES and DIST_TARGETS
Fixes#849
mxe-requirements package doesn't install any files
therefore fakeroot is not required. Because no files
were created with fakeroot, database file `deb.fakeroot'
did not exist.
close#840
Order-only deps have the benefit of guaranteed early execution and not requiring full rebuilds. It isn't a real package, so we don't want an entry in index.html.
* Create PREPARE_PKG_SOURCE function to simplify conditional unpacking and patching (possibly future git init)
* Only attempt download if there is a pkg url
* Only prepare source if there is a pkg file - useful for target specific overrides (say gcc on $(BUILD))
To prevent build-pkg from creating deb packages,
set environment variable MXE_NO_DEBS to 1
In this case fakeroot and dpkg-deb are not needed.
Add a comment about MXE_MAX_PACKAGES.