Commit b40ba5fc authored by Marian Buschsieweke's avatar Marian Buschsieweke Committed by Natanael Copa
Browse files

main/eudev: add eudev-dbg

parent 4912f353
......@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=eudev
pkgver=3.2.10
pkgrel=0
pkgrel=1
pkgdesc="OpenRC compatible fork of systemd-udev"
url="https://wiki.gentoo.org/wiki/Project:Eudev"
arch="all"
......@@ -13,7 +13,7 @@ provides="udev=176"
makedepends="gperf glib-dev linux-headers kmod-dev gobject-introspection-dev
util-linux-dev"
checkdepends="tree xz perl"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-openrc
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-libs $pkgname-openrc
$pkgname-netifnames::noarch $pkgname-rule-generator::noarch"
triggers="eudev.trigger=/lib/udev/rules.d:/usr/lib/udev/rules.d"
source="https://dev.gentoo.org/~blueness/eudev/eudev-$pkgver.tar.gz
......@@ -58,6 +58,15 @@ package() {
"$pkgdir"/sbin/setup-udev
}
dbg() {
default_dbg
mkdir -p "$subpkgdir"/usr/lib/debug/lib
local i; for i in "$subpkgdir"/usr/lib/debug/usr/lib/libudev.so.*; do
mv $i "$subpkgdir"/usr/lib/debug/lib
ln -s ../../lib/${i##*/} "$subpkgdir"/usr/lib/debug/usr/lib/${i##*/}
done
}
dev() {
replaces="udev-dev"
default_dev
......
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