Skip to content
Snippets Groups Projects
Commit 932f3930 authored by Alfredo Gimenez's avatar Alfredo Gimenez
Browse files

util-linux added

parent 676cc84c
No related branches found
No related tags found
No related merge requests found
...@@ -10,13 +10,8 @@ class Libdrm(Package): ...@@ -10,13 +10,8 @@ class Libdrm(Package):
version('2.4.59', '105ac7af1afcd742d402ca7b4eb168b6') version('2.4.59', '105ac7af1afcd742d402ca7b4eb168b6')
# FIXME: Add dependencies if this package requires them.
# depends_on("foo")
def install(self, spec, prefix): def install(self, spec, prefix):
# FIXME: Modify the configure line to suit your build system here.
configure("--prefix=%s" % prefix) configure("--prefix=%s" % prefix)
# FIXME: Add logic to build and install here
make() make()
make("install") make("install")
from spack import *
import os
class UtilLinux(Package):
"""Util-linux is a suite of essential utilities for any Linux system."""
homepage = "http://freecode.com/projects/util-linux"
url = "https://www.kernel.org/pub/linux/utils/util-linux/v2.25/util-linux-2.25.tar.gz"
version('2.25', 'f6d7fc6952ec69c4dc62c8d7c59c1d57')
depends_on("python@2.7:")
def install(self, spec, prefix):
configure("--prefix=%s" % prefix,
"PKG_CONFIG_PATH=%s/pkgconfig" % spec['python'].prefix.lib,
"--disable-use-tty-group")
make()
make("install")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment