Commit Graph

612 Commits

Author SHA1 Message Date
Natanael Copa
f5a3a48da0 abuild: fix bug in install script detection 2011-06-28 11:31:40 +00:00
Natanael Copa
9947fdfafa newapkbuild: use -y for python instead of -q 2011-06-28 07:21:36 +00:00
Natanael Copa
15718f9cf9 newapkbuild: build and package sections for 'make' buildtype
This buildtype is when there is a simple Makefile only.
2011-06-28 07:20:11 +00:00
Natanael Copa
91c0772347 newapkbuild: not only autotools packages can have init.d scripts 2011-06-28 07:14:02 +00:00
Natanael Copa
b0b66ea098 newapkbuild: rename config_* functions to build_*
We call make as well as needed so build_* is better function name.
2011-06-28 07:11:02 +00:00
Fabian Affolter
50dd6eab65 Added python as a new template
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-28 07:02:36 +00:00
Natanael Copa
74cb9068f4 buildlab: fix triggers parsing 2011-06-27 21:05:01 +00:00
Natanael Copa
5fd0c10e8c abuild: implement new format for triggers variable
it contains a list with all triggers for all subpackages.

separate trigger script from path list with '='
separate paths in path list with ':'

example:

pkgname="foo"
subpackages="foo-libs foo-dev"
triggers="foo.trigger=/usr:/usr/lib/foo
	foo-libs.trigger=/usr:/usr/share/foo"
2011-06-27 20:59:30 +00:00
Natanael Copa
f597a6e68c abuild: support for new style install scrits
We need to list all install scripts in $install rather than specify it
in subpackage
2011-06-27 20:59:30 +00:00
Natanael Copa
42df5722ee abuild: check sanity of install scripts
we check early that suffix is valid and that we have a matching
pkgname or subpackage
2011-06-27 20:59:29 +00:00
William Pitcock
12897f2d4c buildlab: fix operation with apk-tools 2.1 2011-06-22 10:12:43 -05:00
William Pitcock
6a8889a166 buildlab: typo fix 2011-06-22 09:51:41 -05:00
William Pitcock
4b29eda79b buildlab: parse $triggers 2011-06-22 09:50:43 -05:00
Natanael Copa
48884b4eb8 aports.lua: make api more object oriented
- provide a handle with aports.new(dir)
- provide foreach() helper functions
2011-06-15 10:32:36 +02:00
Natanael Copa
ac830aeb87 newapkbuild: fix previous commit 2011-06-06 08:28:31 +00:00
Natanael Copa
a94ef4776a newapkbuild: remove libtool archives 2011-06-03 14:20:08 +00:00
Kiyoshi Aman
f6a74379ad apkbuild-cpan: add detection for perl modules with native code
so we get arch set properly
2011-06-02 14:33:14 +03:00
Timo Teräs
9c8f411ab3 apkbuild-cpan: fix handling of license meta-data
Don't update if it's unknown, and fix the error message.
2011-06-02 13:35:06 +03:00
Timo Teräs
f670c88e53 apkbuild-cpan: new tool superceding newapkbuild-cpan tool
Based on Aerdan's original work, this is a perl utility that
interacts with CPAN which can create and update APKBUILDs with
proper metadata info.
2011-06-02 11:55:00 +03:00
Natanael Copa
7f122b77e8 newapkbuild-cpan: new tool
to help make perl-* packages
2011-05-31 14:35:27 +00:00
Natanael Copa
529438949e abuild: do debug builds with DEBUG=1 2011-05-18 06:19:18 +00:00
Natanael Copa
7798ed0c5a abuild: be quiet when uninstalling build dependencies
We don't really need to see what packages gets uninstalled, but error
messages might be nice to see. So we are quiet when uninstalling.
2011-05-05 08:36:00 +00:00
Natanael Copa
81b439cec2 abuild: reset triggers for subpackages
only main package has the trigger
2011-04-18 08:34:56 +00:00
Natanael Copa
eea62ed902 release 2.9.2 2011-04-17 12:56:35 +00:00
Natanael Copa
0a2f9eb582 abuild: fix user creation when group exists 2011-04-17 12:55:51 +00:00
Natanael Copa
1e3c5a742b buildrepo: fix previous commit 2011-04-17 12:55:51 +00:00
Matt Smith
55af44f026 abuild.conf: updated comment about PACKAGER/newapkbuild 2011-04-14 00:24:43 -05:00
Natanael Copa
54ca2cb82a buildrepo: fix purging of old packages 2011-04-07 14:34:51 +00:00
Natanael Copa
41088f4591 release 2.9.1 2011-04-07 06:06:26 +00:00
Natanael Copa
5acc501d8b buildrepo: fixes for new $repo/$arch layout 2011-04-07 06:05:05 +00:00
Natanael Copa
9054ea713d release 2.9.0 2011-04-06 11:22:24 +00:00
Natanael Copa
b027ecf2c7 abuild: fix for REPODEST
we need set the $CARCH in the package destination
needs also to be passed over for recursive action
2011-04-06 09:30:33 +00:00
Natanael Copa
c9a1158c79 abuild: remove broken noarch stuff. force CARCH for abuildrepo 2011-04-04 13:52:17 +00:00
Natanael Copa
3ac0a8e082 abuild: move abuildrepo to ~/.cache/abuild/$repo
We no require apk-tools-2.1
2011-04-04 13:00:22 +00:00
Natanael Copa
8f6f8763cf abuild: fix check if abuildindex is up 2 date 2011-04-04 11:18:29 +00:00
Natanael Copa
62a87c97fb Merge branch '2.7' 2011-04-01 13:39:23 +00:00
Natanael Copa
828d8a7e16 abuild: always fail when checksums does not match 2011-04-01 12:24:40 +00:00
Natanael Copa
3f055e6f68 Merge git://git.alpinelinux.org/msmith/abuild 2011-03-31 12:43:53 +00:00
Natanael Copa
382e470396 Merge branch '2.7'
Conflicts:
	Makefile
2011-03-31 09:56:47 +00:00
Natanael Copa
701be9224c abuild: add origin in .PKGINFO 2011-03-31 09:49:51 +00:00
Natanael Copa
63c3cb39f6 release 2.7.5 2011-03-31 07:45:15 +00:00
Natanael Copa
b9b1deeff7 release 2.8.2 2011-03-30 14:26:22 +00:00
Natanael Copa
0f27ed17ab abuild: fix for apk-tools-2.0.x
apk-tools-2.0's apk index will not show the arch so we need to use
tar to find arch if we have old apk. We prefer use apk index since
it will only read first block of file, regardless size, while tar
will read entire file. Reading entire file is slow if file is big.

So we check apk --version and use tar if needed, and apk index if
possible.
2011-03-30 14:20:15 +00:00
Natanael Copa
88b5a2af36 release 2.8.1 2011-03-30 13:55:38 +00:00
Natanael Copa
663aa8bca5 abuild: create $arch and noarch dirs for abuildrepo 2011-03-30 13:54:49 +00:00
Natanael Copa
ecbaac6362 release 2.8.0 2011-03-30 12:44:14 +00:00
Natanael Copa
876e4f7a67 ap: let builddirs use aports.recurs_until() 2011-03-30 11:40:47 +00:00
Natanael Copa
486959e2db ap/aports.lua: implement recurse_until
will recursively parse all build depends
2011-03-30 13:11:13 +02:00
Natanael Copa
dee681905f ap: use pairs instead of ipairs 2011-03-30 13:11:12 +02:00
Natanael Copa
995797f4a2 Merge branch 'wip' 2011-03-30 09:10:56 +00:00