summaryrefslogtreecommitdiff
path: root/system/abuild/auto-dev-symbols.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-20 23:47:13 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-20 23:47:13 +0000
commitd83763c892fe347b0784839e5a4d0197ea773f33 (patch)
tree64983e7c289e0bded45e0b61d6ffd25caf78a05d /system/abuild/auto-dev-symbols.patch
parent6095488ca117fb1c9ad3e377fd36cbf2c17c0541 (diff)
downloadpackages-d83763c892fe347b0784839e5a4d0197ea773f33.tar.gz
packages-d83763c892fe347b0784839e5a4d0197ea773f33.tar.bz2
packages-d83763c892fe347b0784839e5a4d0197ea773f33.tar.xz
packages-d83763c892fe347b0784839e5a4d0197ea773f33.zip
system/abuild: support dev and symbols metapackages
Diffstat (limited to 'system/abuild/auto-dev-symbols.patch')
-rw-r--r--system/abuild/auto-dev-symbols.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/system/abuild/auto-dev-symbols.patch b/system/abuild/auto-dev-symbols.patch
new file mode 100644
index 000000000..1fbca7bad
--- /dev/null
+++ b/system/abuild/auto-dev-symbols.patch
@@ -0,0 +1,18 @@
+--- abuild-3.3.1+adelie/abuild.in.old 2019-03-07 00:48:00.110000000 +0000
++++ abuild-3.3.1+adelie/abuild.in 2019-12-20 23:44:19.956669659 +0000
+@@ -1651,6 +1651,7 @@
+ 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
+@@ -1681,6 +1682,7 @@
+ local i= j=
+ depends="$depends_dev"
+ pkgdesc="$pkgdesc (development files)"
++ install_if="dev $pkgname=$pkgver-r$pkgrel"
+
+ cd "$pkgdir" || return 0
+ local libdirs=usr/