forked from semios/ports
25 lines
443 B
Python
25 lines
443 B
Python
from lib import arch, cpp
|
|
from lib.make import *
|
|
|
|
|
|
version("3.3")
|
|
description("GNU perfect hash function generator")
|
|
maintainer("sisungo <[email protected]>")
|
|
source_url("https://ftp.gnu.org/pub/gnu/gperf/gperf-3.3.tar.gz")
|
|
|
|
builddep("shortcut/c++")
|
|
builddep("shortcut/autotools")
|
|
|
|
|
|
def build():
|
|
cpp.configure()
|
|
cpp.make()
|
|
cpp.make_install()
|
|
|
|
on_build(build)
|
|
|
|
|
|
package("gperf")
|
|
dep("libcxx @same-arch")
|
|
cpp.use_auto_pack(["bin"])
|