18 lines
372 B
Python
18 lines
372 B
Python
from lib.make import *
|
|
|
|
version("2.0")
|
|
source_url("https://github.com/antirez/linenoise/archive/refs/tags/2.0.tar.gz")
|
|
|
|
on_build(lambda: None)
|
|
|
|
|
|
def pack_dev(composer):
|
|
composer.addfile("linenoise.c", "linenoise.c")
|
|
composer.addfile("linenoise.h", "linenoise.h")
|
|
composer.addfile("Makefile", "Makefile")
|
|
|
|
|
|
package("linenoise-dev")
|
|
arch_any()
|
|
on_pack(pack_dev)
|