20 lines
489 B
Python
20 lines
489 B
Python
from lib.make import *
|
|
|
|
version("2.0")
|
|
description("A small self-contained alternative to readline and libedit")
|
|
maintainer("sisungo <[email protected]>")
|
|
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)
|