Created
March 9, 2025 07:34
-
-
Save lenicyl/c9124f1fc415343855096c8a652782f6 to your computer and use it in GitHub Desktop.
Darknet Voidlinux XBPS templates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=darknet | |
version=3.0 | |
revision=1 | |
build_style=cmake | |
configure_args="-DCMAKE_BUILD_TYPE=Release" | |
conf_files="/opt/darknet/cfg/*" | |
hostmakedepends="base-devel git" | |
makedepends="libopencv-devel" | |
short_desc="Darknet/YOLO object detection framework" | |
maintainer="lenicyl <[email protected]>" | |
license="Apache-2.0" | |
homepage="https://github.com/hank-ai/darknet" | |
# distfiles="https://github.com/hank-ai/darknet/archive/refs/tags/v3.0.tar.gz" | |
# checksum=ab9be4d7c8c6f98df69538b9fda2da6194f9b5525f9c5dc9319c77d440680cb4 | |
# | |
# The darknet cmake build process uses a git command to generate the version number | |
# Since downloading a tarball or release using distfiles wouldnt include a .git folder | |
# the repo would have to be cloned manually | |
do_fetch() { | |
git clone https://github.com/hank-ai/darknet.git "$wrksrc" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment