diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-02-08 21:03:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-02-08 21:03:32 +0000 |
commit | 0c3be1aed6f3c4bcb8e0681567ec1e9518cdf811 (patch) | |
tree | 12cfb0043757a7c3fdf8ef22f61fa37f18170313 /abuild | |
parent | 6c52b391125c8ace2e65eb5242e58c483897a0aa (diff) | |
download | abuild-0c3be1aed6f3c4bcb8e0681567ec1e9518cdf811.tar.gz abuild-0c3be1aed6f3c4bcb8e0681567ec1e9518cdf811.tar.bz2 abuild-0c3be1aed6f3c4bcb8e0681567ec1e9518cdf811.tar.xz abuild-0c3be1aed6f3c4bcb8e0681567ec1e9518cdf811.zip |
abuild: rename {dev,doc,mod} funcs to default_{dev,doc,mod}
This allows ABUILDS to call the default_doc func and append stuff missing
Diffstat (limited to 'abuild')
-rwxr-xr-x | abuild | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -327,7 +327,7 @@ package() { } # predefined splitfunc doc -doc() { +default_doc() { depends="$depends_doc" local i for i in doc man info html sgml licenses; do @@ -350,8 +350,12 @@ doc() { return 0 } +doc() { + default_doc +} + # predefined splitfunc mod -mod() { +default_mod() { depends="$kernel $depends_mod" for i in firmware modules; do if [ -d "$pkgdir/lib/$i" ]; then @@ -362,8 +366,12 @@ mod() { done } +mod() { + default_mod +} + # predefined splitfunc dev -dev() { +default_dev() { depends="$pkgname $depends_dev" cd "$pkgdir" || return 0 for i in usr/include usr/lib/pkgconfig usr/share/aclocal\ @@ -381,6 +389,10 @@ dev() { return 0 } +dev() { + default_dev +} + # build and package in fakeroot rootpkg() { cd "$startdir" |