![]() ![]() There are some remarkable things in the recipe: nasm_folder_name, keep_path = False, ignore_case = True ) def package_info ( self ): self. copy ( "license*", dst = "", src = self. copy ( "*", dst = "", keep_path = True ) self. unlink ( nasm_zip_name ) def package ( self ): self. version, suffix, nasm_zip_name )) tools. warn ( "Downloading nasm: " "" "/ %s / %s / %s " % ( self. version, suffix, nasm_zip_name ), nasm_zip_name ) self. arch_build = "x86" else "win64" nasm_zip_name = " %s - %s. version def build ( self ): suffix = "win32" if self. os_build != "Windows" : raise Exception ( "Only windows supported for nasm" ) def nasm_folder_name ( self ): return "nasm- %s " % self. Useful as a build_require." def configure ( self ): if self. Import os from conans import ConanFile from conans.client import tools class NasmConan ( ConanFile ): name = "nasm" version = "2.13.01" license = "BSD-2-Clause" url = "" settings = "os_build", "arch_build" build_policy = "missing" description = "Nasm for windows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |