Verified Commit 69733b0c authored by A. Wilcox's avatar A. Wilcox

abuild: Add the 'dev' and 'symbols' metapackages

parent 5cdb911f
......@@ -1659,6 +1659,7 @@ doc() {
default_dbg() {
local f
pkgdesc="$pkgdesc (debug symbols)"
install_if="symbols $pkgname=$pkgver-r$pkgrel"
binfiles=$(scanelf -R "$pkgdir" | grep ET_DYN | sed "s:$pkgdir\/::g" | sed "s:ET_DYN ::g")
for f in $binfiles; do
......@@ -1689,6 +1690,7 @@ default_dev() {
local i= j=
depends="$depends_dev"
pkgdesc="$pkgdesc (development files)"
install_if="dev $pkgname=$pkgver-r$pkgrel"
cd "$pkgdir" || return 0
local libdirs=usr/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment