diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-04 13:37:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-04 13:37:26 +0000 |
commit | 76e93e602f74e0fcf8cfc708fd93b4f71b74781e (patch) | |
tree | b3f27014e1faaa3a7727a534207aefeffb466f5c | |
parent | 87953c711587b932fb8e9f95798a0907faaaecf6 (diff) | |
download | abuild-76e93e602f74e0fcf8cfc708fd93b4f71b74781e.tar.gz abuild-76e93e602f74e0fcf8cfc708fd93b4f71b74781e.tar.bz2 abuild-76e93e602f74e0fcf8cfc708fd93b4f71b74781e.tar.xz abuild-76e93e602f74e0fcf8cfc708fd93b4f71b74781e.zip |
abuild: add provides information
-rwxr-xr-x | abuild.in | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -919,8 +919,11 @@ trace_apk_deps() { fi done - [ -z "$autodeps" ] && return 0 echo "# automatically detected:" >> "$dir"/.PKGINFO + if [ -f "$dir"/.provides-so ]; then + sed 's/^/provides = /' "$dir"/.provides-so >> "$dir"/.PKGINFO + fi + [ -z "$autodeps" ] && return 0 for i in $autodeps; do echo "depend = $i" >> "$dir"/.PKGINFO done |