forked from semios/ports
27 lines
589 B
Python
27 lines
589 B
Python
from lib.make import *
|
|
from lib import cpp
|
|
|
|
|
|
version("0.411")
|
|
description("hwdata contains various hardware identification and configuration data, such as the pci.ids and usb.ids databases.")
|
|
maintainer("sisungo <[email protected]>")
|
|
source_url("https://github.com/vcrhonek/hwdata/archive/refs/tags/v0.411.tar.gz")
|
|
|
|
builddep("shortcut/autotools")
|
|
|
|
|
|
def build():
|
|
cpp.configure(["--disable-blacklist", f"--prefix={get_prefix('hwdata')}"])
|
|
cpp.make()
|
|
cpp.make_install()
|
|
|
|
on_build(build)
|
|
|
|
|
|
def pack(composer):
|
|
composer.add("share")
|
|
|
|
package("hwdata")
|
|
arch_any()
|
|
on_pack(pack)
|