xbps-src: added a new var for templates "dkms_modules".

It will be used by packages that will install DKMS modules.
This commit is contained in:
Juan RP
2010-12-23 14:29:38 +01:00
parent 90922f9936
commit ae3c15cb59
3 changed files with 38 additions and 20 deletions

View File

@@ -288,6 +288,13 @@ xbps_write_metadata_pkg_real()
<key>long_desc</key>
<string>$long_desc</string>
_EOF
#
# If package sets $dkms_modules, add dkms rundep.
#
if [ -n "$dkms_modules" ]; then
Add_dependency run dkms
fi
#
# If package sets $openrc_services, add the OpenRC rundep.
#