example use
This commit is contained in:
parent
01e576d013
commit
14b090e896
@ -15,6 +15,11 @@ class ZlibNg(AutotoolsPackage, CMakePackage):
|
||||
url = "https://github.com/zlib-ng/zlib-ng/archive/2.0.0.tar.gz"
|
||||
git = "https://github.com/zlib-ng/zlib-ng.git"
|
||||
|
||||
class Data:
|
||||
make: MakeExecutable
|
||||
|
||||
data: Data
|
||||
|
||||
maintainers("haampie")
|
||||
|
||||
license("Zlib")
|
||||
@ -96,6 +101,9 @@ def configure_args(self):
|
||||
args.append("--without-new-strategies")
|
||||
return args
|
||||
|
||||
def build(self, pkg: ZlibNg, spec: Spec, prefix: Prefix) -> None:
|
||||
pkg.data.make("V=1", *self.build_targets)
|
||||
|
||||
|
||||
class CMakeBuilder(cmake.CMakeBuilder):
|
||||
def cmake_args(self):
|
||||
|
Loading…
Reference in New Issue
Block a user