forked from semios/ports
Compare commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
94628eab4d |
@@ -1,35 +0,0 @@
|
||||
from lib.make import *
|
||||
from lib import cpp, arch
|
||||
|
||||
|
||||
version("1.0.30")
|
||||
description("A cross-platform library to access USB devices.")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://github.com/libusb/libusb/releases/download/v1.0.30/libusb-1.0.30.tar.bz2")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("shortcut/autotools")
|
||||
builddep("linux-dev @target")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.configure([
|
||||
"--prefix=/",
|
||||
f"--libdir={get_prefix('libusb')}/lib",
|
||||
f"--includedir={get_prefix('libusb-dev')}/include",
|
||||
"--disable-udev",
|
||||
])
|
||||
cpp.make()
|
||||
cpp.make_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("libusb")
|
||||
dep("semi-libc @same-arch")
|
||||
cpp.use_auto_pack(["lib"])
|
||||
|
||||
package("libusb-dev")
|
||||
dep("libusb (same)")
|
||||
dep("semi-libc-dev @same-arch")
|
||||
cpp.use_auto_pack(["dev"])
|
||||
@@ -4,10 +4,10 @@ from lib import rust
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("0.1.0-alpha.2")
|
||||
version("0.1.0-alpha.4")
|
||||
description("Linux device userspace daemon.")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://gitea.semilabs.org/semios/lxdeviced/archive/0.1.0-alpha.2.tar.gz")
|
||||
source_url("https://gitea.semilabs.org/semios/lxdeviced/archive/0.1.0-alpha.4.tar.gz")
|
||||
|
||||
builddep("shortcut/rust")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user