Tom G. Christensen
7eb78af9ae
Update copyright years
2019-05-30 11:16:49 +02:00
Tom G. Christensen
d38443871c
Enable passing options to make in generic_build()
2019-05-30 11:12:18 +02:00
Tom G. Christensen
fe7f6cb97e
Add support for lz compressed tar archives
2018-04-14 14:08:25 +02:00
Tom G. Christensen
f95e226c80
Update urls in license text
2018-04-09 20:37:52 +02:00
Tom G. Christensen
27e745bc1c
Update copyright years
2018-04-09 20:31:40 +02:00
Tom G. Christensen
6e408949ea
Make gnu symlink creation work again
...
Since the default configure_args is now expanded immediately it cannot depend
on variables defined later.
To fix this for users of gnu_link_progs another API change is necessary.
gnu_link_progs is now a private array of programs to link. The
private gnu_link function is renamed do_gnu_link. A new public function
named gnu_link is added which handles populating gnu_link_progs and
modifying configure_args.
2013-10-10 16:16:33 +02:00
Tom G. Christensen
6750c1f90d
buildpkg.functions: change how pkgdirdesig and topinstalldir is defined
...
Instead of defining pkgdirdesig using topinstalldir do it the other way
around.
2013-09-21 11:58:36 +02:00
Tom G. Christensen
a238b33578
Convert configure_args to an array
...
This makes it possible to avoid difficult or impossible quoting needed
for passing arguments.
2013-08-11 16:15:11 +02:00
Tom G. Christensen
dd2f1dece0
buildpkg.functions: tell to curl use remote timestamp when downloading files
2013-04-26 10:27:44 +02:00
Tom G. Christensen
b15779639a
buildpkg.functions: add support for changing the generic install target
2013-04-26 10:27:44 +02:00
Tom G. Christensen
23d8ded3d4
Update copyright years
2013-04-26 10:24:43 +02:00
Tom G. Christensen
a8454b7c03
buildpkg.functions: style cleanup in generic_install()
2013-01-27 13:47:27 +01:00
Tom G. Christensen
a61b3bb05f
buildpkg.functions: output configure command for log purposes
2013-01-27 13:43:33 +01:00
Tom G. Christensen
a9fed27639
Extend gnu symlink functionality
...
This makes the gnu symlink functionality an integrated part of the
install function.
The interface is now the variable gnu_link_progs which when defined
triggers the automatic symlinking.
2013-01-27 13:39:22 +01:00
Tom G. Christensen
77e906db65
buildpkg.functions: add a simple helper to create symlinks in gnu/bin
2012-12-20 11:55:08 +01:00
Tom G. Christensen
13bd8b42d3
Refactor changelog check into a generic function
...
This allows calling it early in generic_pack and avoid doing expensive
operations before finding out the ChangeLog is not updated.
2012-05-27 11:39:45 +02:00
Tom G. Christensen
8a92bf85d5
Fix ChangeLog version check
...
Additionally turn any problem with the ChangeLog into a fatal error.
2012-05-27 11:18:10 +02:00
Tom G. Christensen
3aae9488ab
Automatically create stagedir if it is missing
...
Also don't treat a missing stagedir as an error when calling clean.
2012-05-27 11:11:18 +02:00
Tom G. Christensen
9430cf5c7e
Automatically create srcdir if it is missing
2012-05-27 11:11:13 +02:00
Tom G. Christensen
a6007c62d5
Update copyright years
2012-05-27 10:06:26 +02:00
Tom G. Christensen
09c04aeabb
Remove trailing whitespace
2012-05-26 10:54:42 +02:00
Tom G. Christensen
0c7484d227
Add support for xz compressed tarballs
2012-05-21 20:23:35 +02:00
Tom G. Christensen
8015851ba8
Make sure compver files are regenerated
2011-06-03 16:09:35 +02:00
Tom G. Christensen
0ae7c57a2c
Update copyright years
2010-01-10 11:51:32 +01:00
Tom G. Christensen
80e4a9d3fc
Separate buildtree and buildpkg code
...
Code is now located via BUILDPKG_SCRIPTS while the buildtree is located
via BUILDPKG_BASE.
2010-01-10 11:51:27 +01:00
Tom G. Christensen
c7ccc73f1e
Fix name overload in get_files
...
The variable source was being overloaded by a local variable of the same name
causing the loop to malfunction and not retrieve all sources.
2009-12-19 16:31:19 +01:00
Tom G. Christensen
1a1be6bc92
Remove more uses of shell filename expansion.
2009-12-19 14:38:47 +01:00
Tom G. Christensen
3854b49dfd
Use ls instead of echo to avoid returning * on empty dirs
2009-12-19 14:38:47 +01:00
Tom G. Christensen
f84b1dd660
Overhaul handling of source and patch entries during setup
...
* buildpkg.functions(get_source_filename, get_source_path,
get_source_absfilename, fetch_source): Take a filename as input instead
of an array index so they can be used for both source and patch entries
* buildpkg.functions(unpack, patch): Updated to use new interface to above
functions
* buildpkg.packaging.irix(auto_rel, auto_src): Ditto. Also make sure to
maintain timestamps when copying patches into the package
* buildpkg.functions(get_files): New function to handle all downloading of
sources and patches before unpacking
2009-12-19 14:38:47 +01:00
Tom G. Christensen
20a817e189
Update copyright years
2009-12-19 14:38:47 +01:00
Tom G. Christensen
7664df5bbe
Make it possible to add global configure overrides
2009-12-19 14:38:47 +01:00
Tom G. Christensen
bcc9cf61ac
Because of the nesting of the function calls a call to error inside the
...
stack will not give me the exit I want. This should catch any errors and
cause an exit in the appropriate place.
2009-12-19 14:38:46 +01:00
Tom G. Christensen
ebd95822dc
Missing 's'.
2009-12-19 14:38:46 +01:00
Tom G. Christensen
6dfdcc73c4
Allow URLs in source entries.
...
Provide helpers to abstract extraction of source paths and filenames.
Cleanup all direct uses of source[] to use the helpers.
Add new fetch_source function to handle URLs. Depends on new __curl define.
Small unrelated change in buildpkg.packaging.irix, we must use gsed to get
\n expanded in the strings.
2009-12-19 14:38:46 +01:00
Tom G. Christensen
b27fef0e1b
The buildpkg framework is now under the GPLv3.
2009-12-19 14:38:46 +01:00
Tom G. Christensen
32e18a9df3
Cleanup tools usage and only use __ prefixed tool namespace.
2009-12-19 14:38:46 +01:00
Tom G. Christensen
5c4973f9c8
Add head to the list of tools.
2009-12-19 14:38:44 +01:00
Tom G. Christensen
c786941496
Import the ac_overrides codes from Irix into the generic build function.
2009-12-19 14:38:44 +01:00
Tom G. Christensen
bb2413eda9
Add generic_check function and add new default check target to build.sh.
...
The check target is excluded from the all target since it can often take a
very long time to run.
2009-12-19 14:38:43 +01:00
Tom G. Christensen
c06bf89a46
auto_deps needs ldd
2009-12-19 14:38:43 +01:00
Tom G. Christensen
ac054594dc
Enforce length limits on PKG and NAME fields in pkginfo
2009-12-19 14:38:43 +01:00
Tom G. Christensen
951d5ac6de
Make it possible to override configure by defining __configure
2009-12-19 14:38:43 +01:00
Tom G. Christensen
48a08220e2
Add new __ prefixed tool namespace
2009-12-19 14:38:43 +01:00
Tom G. Christensen
f5e5e26d49
Add support for pack(1)ed manpages on Irix 5.3
2009-12-19 14:38:43 +01:00
Tom G. Christensen
83fa1c28f0
Make the default patch prefix configurable.
2009-12-19 14:38:42 +01:00
Tom G. Christensen
b28cc5d0eb
Correct the extraction of the .so link target when symlinking manpages
2009-12-19 14:38:42 +01:00
Tom G. Christensen
584d7de232
Add function to convert .so style manpage linking to symlinks
2009-12-19 14:38:42 +01:00
Tom G. Christensen
70f85ffe32
New functions to aid in the building of perl module packages
2009-12-19 14:38:42 +01:00
Tom G. Christensen
c58a2bad9c
Add EGREP
...
Allow overriding the makefile build target to use
Allow skipping the configure step in generic_build
2009-12-19 14:38:42 +01:00
Tom G. Christensen
311bbb03f0
Implement support for platform specific configure function run_configure.
...
Add error message for suspicious config.log entries
A few variables in compute_octal was defined as globals
2009-12-19 14:38:42 +01:00