dkms: depend on {musl,glibc}-devel where appropiate.

This commit is contained in:
Juan RP 2016-01-12 10:09:49 +01:00
parent fb45d66260
commit 4f2d5c6485

View file

@ -1,8 +1,7 @@
# Template file for 'dkms' # Template file for 'dkms'
pkgname=dkms pkgname=dkms
version=2.2.0.3 version=2.2.0.3
revision=10 revision=11
noarch=yes
conf_files="/etc/dkms/framework.conf" conf_files="/etc/dkms/framework.conf"
depends="bash kmod gcc make coreutils linux-headers" depends="bash kmod gcc make coreutils linux-headers"
homepage="http://linux.dell.com/dkms" homepage="http://linux.dell.com/dkms"
@ -12,6 +11,13 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2" license="GPL-2"
checksum=352a080351410e29ae8cda7a794ba1e607b87ca913d0410d56209f08875378fc checksum=352a080351410e29ae8cda7a794ba1e607b87ca913d0410d56209f08875378fc
depends="bash kmod gcc make coreutils linux-headers"
case "$XBPS_TARGET_MACHINE" in
*-musl) depends+=" musl-devel";;
*) depends+=" glibc-devel";;
esac
do_install() { do_install() {
# We are only interested in the bare minimum. # We are only interested in the bare minimum.
vinstall dkms 755 usr/bin vinstall dkms 755 usr/bin