set PREFIX in make() for some packages (#34773)
This commit is contained in:
parent
310b6b9466
commit
e21c1c5770
@ -19,10 +19,10 @@ class Libtermkey(MakefilePackage):
|
||||
version("0.15b", sha256="6825422c6297e4f81b2c48962b4512585ca8a50bf31f24b3234a1be71a9d7a6e")
|
||||
version("0.14", sha256="3d114d4509499b80a583ea39cd35f18268aacf4a7bbf56c142cd032632005c79")
|
||||
|
||||
depends_on("gzip", type="build")
|
||||
depends_on("libtool", type="build")
|
||||
|
||||
depends_on("pkgconfig", type="build")
|
||||
depends_on("unibilium")
|
||||
depends_on("pkgconfig")
|
||||
|
||||
def setup_build_environment(self, env):
|
||||
env.set("LIBTOOL", self.spec["libtool"].prefix.bin.join("libtool"))
|
||||
|
@ -16,6 +16,8 @@ class Unibilium(Package):
|
||||
version("1.2.0", sha256="623af1099515e673abfd3cae5f2fa808a09ca55dda1c65a7b5c9424eb304ead8")
|
||||
|
||||
depends_on("libtool", type="build")
|
||||
depends_on("perl", type="build")
|
||||
depends_on("gzip", type="build")
|
||||
|
||||
def install(self, spec, prefix):
|
||||
make("PREFIX=" + prefix)
|
||||
|
Loading…
Reference in New Issue
Block a user