pciutils: add a PREFIX parameter to make invocation (#21527)
This commit is contained in:
parent
ca24b6c740
commit
1bee682d67
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ class Pciutils(MakefilePackage):
|
|||
|
||||
variant('lib', default=False, description='Install libraries with headers')
|
||||
|
||||
def build(self, spec, prefix):
|
||||
make('PREFIX={0}'.format(prefix))
|
||||
|
||||
def install(self, spec, prefix):
|
||||
if '+lib' in spec:
|
||||
make('install-lib', 'install', 'PREFIX={0}'.format(prefix))
|
||||
|
|
Loading…
Reference in a new issue