Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-03-06 | newapkbuild: add default check to CMake and RelWithDebugInfo type | A. Wilcox | 1 | -1/+6 | |
2018-10-03 | newapkbuild: fix checksums to be last in ABPKUILD | Natanael Copa | 1 | -0/+3 | |
ref https://github.com/alpinelinux/abuild/pull/42 | |||||
2018-09-24 | newapkbuild: use https for sourceforge download links | prspkt | 1 | -1/+1 | |
2018-07-29 | newapkbuild: fix default check function for python3 | Jakub Jirutka | 1 | -1/+1 | |
`setup.py check` does not run package tests, it performs just some check of the package metadata. The correct command is `setup.py test`. | |||||
2018-06-21 | newapkbuild: check arguments and improve usage() | Oliver Smith | 1 | -18/+44 | |
Changes: * argument sanity checks: * `PKGNAME[-PKGVER] | SRCURL` * check if missing * check if specified more than once (see below) * specifying more than one buildtype flag * `-n` (set pkgname) without using SRCURL as last argument * `-s` (sourceforge source) without using PKGNAME as last argument * Typo fix: exist -> exists * `usage()`: * always print PKGNAME and PKGDESC (instead of NAME and DESC, NAME was used in one place and PKGNAME in another) * link to <https://spdx.org/licenses/> * `-m` (meson) flag was missing in short usage line at the top * indicate that the buildtypes are exclusive * `-c` flag: remove "to new directory" wording to make the message shorter (this should be obvious) * remove empty line at the end NOTE: Before this commit, the `PKGNAME[-PKGVER] | SRCURL` was allowed to be specified more than once, and the code looped over the arguments. But this was not documented in `usage()` and had unexpected results: ``` $ newapkbuild first second third $ tree . ___ first ___ APKBUILD ___ first ___ ___ APKBUILD ___ ___ first ___ ___ ___ APKBUILD ___ ___ ___ src ___ ___ src ___ src ``` | |||||
2018-05-24 | newapkbuild: move checksum call to after fetch | A. Wilcox | 1 | -2/+1 | |
unpack will no longer unpack without a checksum, even with -f. This means that newapkbuild will not be able to deduce what kind of build system is contained within, so the templates for CMake, Perl, etc are never used. This patch ensures checksumming is done right after fetch, so that unpack works properly. | |||||
2018-05-24 | newapkbuild: fix typo | A. Wilcox | 1 | -1/+1 | |
2018-05-07 | newapkbuild: create check() function | Jakub Jirutka | 1 | -0/+30 | |
2018-05-07 | newapkbuild: change python to python3 | Jakub Jirutka | 1 | -4/+4 | |
2017-12-30 | newapkbuild: fix typo | Oliver Smith | 1 | -1/+1 | |
2017-10-28 | newapkbuild.in: fix package_meson by escaping $pkgdir | Sören Tempel | 1 | -1/+1 | |
2017-10-19 | newapkbuild: use make 'package' phase for CMake as well | A. Wilcox | 1 | -1/+1 | |
2017-10-19 | newapkbuild: always set makedepends in newaport | Sören Tempel | 1 | -7/+6 | |
2017-10-19 | newapkbuild: add command line flag for cmake to getopts | Sören Tempel | 1 | -1/+1 | |
It is documented in the help output but didn't work because getopts(1) didn't check for that option. I am assuming the person who added cmake support simply forgot to adjust the getopts line. | |||||
2017-10-19 | newapkbuild: add support for meson | Sören Tempel | 1 | -3/+36 | |
2017-09-28 | newapkbuild: detect CMakeLists.txt file for CMake | A. Wilcox | 1 | -1/+1 | |
Some CMake packages do not have cmake/ directory, but all have CMakeLists.txt present in the root directory. | |||||
2017-06-23 | newapkbuild: fix usage output | A. Wilcox | 1 | -1/+2 | |
2017-05-19 | newapkbuild: fix build_cmake template - escape parameters | Jakub Jirutka | 1 | -3/+2 | |
2017-04-05 | remove explicit `|| return 1` from all sample APKBUILDs | Sören Tempel | 1 | -15/+13 | |
Those statement are no longer needed because abuild now runs with `set -e` by default. See also: 36d5193776180385a39626a83241822736a5f6b8 | |||||
2016-08-23 | indent heredocs when possible | Jakub Jirutka | 1 | -19/+19 | |
2016-08-20 | add .editorconfig and fix code formatting | Jakub Jirutka | 1 | -2/+1 | |
2016-06-20 | newapkbuild: redirect find(1) stderr to /dev/null | Sören Tempel | 1 | -1/+1 | |
If $sdir is not defined find writes an error message to stderr. For example when running: newapkbuild -n foo -a foo You will see a find error message because no source url was provided. This commit silences any find error message. An alternative solution would be to not invoke find unless $sdir is set. | |||||
2016-06-13 | newapkbuild: remove trailing spaces | Jakub Jirutka | 1 | -2/+2 | |
2016-06-13 | newapkbuild: add empty line after builddir= and quote whole value | Jakub Jirutka | 1 | -3/+1 | |
2016-06-13 | newapkbuild: omit depends_dev if no *.h or *.hpp file found | Jakub Jirutka | 1 | -0/+6 | |
2016-06-13 | newapkbuild: fix undefined variable $_builddir | Jakub Jirutka | 1 | -1/+1 | |
2016-03-23 | newapkbuild: rename _builddir to builddir | Natanael Copa | 1 | -6/+6 | |
the _builddir should never been used bu abuild due to the _ prefix. | |||||
2016-02-22 | newapkbuild: remove default prepare() | Michael Zuo | 1 | -15/+0 | |
Do not add prepare() to new APKBUILDs in the future, as this functionality is superseded by the addition of the default prepare patcher in abuild. | |||||
2015-11-30 | newapkbuild: dont set CXX/C COMPILER | Natanael Copa | 1 | -3/+1 | |
cmake is normally able to figure it out and setting them may break ccache. | |||||
2015-11-30 | newapkbuild: do not add --infodir | Natanael Copa | 1 | -1/+0 | |
normally not used | |||||
2015-09-15 | newapkbuild: *.la files are removed by default | Bartłomiej Piotrowski | 1 | -1/+0 | |
2015-05-27 | newapkbuild: add CMake support. | Isaac Dunham | 1 | -0/+32 | |
This is a first try that *might* work for cross-compiling packages with an absolute bare minimum of requirements, if you're lucky. I can't debug that part further, but the references should help with it. | |||||
2014-03-31 | fix permissions | Natanael Copa | 1 | -0/+0 | |
2013-11-21 | newapkbuild: detect github archives | Natanael Copa | 1 | -1/+16 | |
2013-10-25 | newapkbuild: cosmetic fix for help message | Natanael Copa | 1 | -1/+2 | |
2013-10-25 | functions: rename abuild_ver to program_version | Natanael Copa | 1 | -2/+2 | |
2013-10-25 | functions: rename prog to program | Natanael Copa | 1 | -2/+2 | |
2013-08-01 | newapkbuild: add --build and --host options | Natanael Copa | 1 | -1/+4 | |
2013-07-09 | various: use long options, rework usages | Dubiousjim | 1 | -17/+18 | |
2013-07-09 | various: move conf-loading and i/o to functions | Dubiousjim | 1 | -14/+7 | |
2013-07-08 | various: tweak opening comments, whitespace | Dubiousjim | 1 | -4/+2 | |
Also remove incomplete efforts at listing "Depends on: ..." | |||||
2013-02-20 | newapkbuild: https is also an url | Natanael Copa | 1 | -1/+1 | |
2011-12-21 | newapkbuild: add -n option for setting name | Natanael Copa | 1 | -15/+21 | |
So we can set pkgname if it differs from download archive name | |||||
2011-06-28 | newapkbuild: use -y for python instead of -q | Natanael Copa | 1 | -3/+3 | |
2011-06-28 | newapkbuild: build and package sections for 'make' buildtype | Natanael Copa | 1 | -1/+15 | |
This buildtype is when there is a simple Makefile only. | |||||
2011-06-28 | newapkbuild: not only autotools packages can have init.d scripts | Natanael Copa | 1 | -9/+9 | |
2011-06-28 | newapkbuild: rename config_* functions to build_* | Natanael Copa | 1 | -6/+6 | |
We call make as well as needed so build_* is better function name. | |||||
2011-06-28 | Added python as a new template | Fabian Affolter | 1 | -32/+74 | |
With -q ('-q' for the moment, please change that) a template APKBUILD file for a python module is created. 'depends' and 'makedepends' are filled with standard values. | |||||
2011-06-06 | newapkbuild: fix previous commit | Natanael Copa | 1 | -1/+1 | |
2011-06-03 | newapkbuild: remove libtool archives | Natanael Copa | 1 | -0/+1 | |