Initial Commit
- initial default booting image
This commit is contained in:
6
package/stb/Config.in
Normal file
6
package/stb/Config.in
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_STB
|
||||
bool "stb"
|
||||
help
|
||||
Single-file image and audio processing libraries for C/C++.
|
||||
|
||||
https://github.com/nothings/stb
|
||||
3
package/stb/stb.hash
Normal file
3
package/stb/stb.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 c47cf5abe21e1d620afccd159c23fe71dfa86eb270015a7646a4f79e9bfd5503 stb-8b5f1f37b5b75829fc72d38e7b5d4bcbf8a26d55.tar.gz
|
||||
sha256 bebfe904b14301657e4e5d655c811d51fd31b97c455b9cc2d8600d6bac6cff63 LICENSE
|
||||
21
package/stb/stb.mk
Normal file
21
package/stb/stb.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# stb
|
||||
#
|
||||
################################################################################
|
||||
|
||||
STB_VERSION = 8b5f1f37b5b75829fc72d38e7b5d4bcbf8a26d55
|
||||
STB_SITE = $(call github,nothings,stb,$(STB_VERSION))
|
||||
STB_LICENSE = Public Domain or MIT
|
||||
STB_LICENSE_FILES = LICENSE
|
||||
STB_INSTALL_STAGING = YES
|
||||
STB_INSTALL_TARGET = NO
|
||||
|
||||
define STB_INSTALL_STAGING_CMDS
|
||||
mkdir -p $(STAGING_DIR)/usr/include/stb
|
||||
$(INSTALL) -m 0644 $(@D)/*.h $(STAGING_DIR)/usr/include/stb
|
||||
$(INSTALL) -D -m 0644 $(STB_PKGDIR)/stb.pc \
|
||||
$(STAGING_DIR)/usr/lib/pkgconfig/stb.pc
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
8
package/stb/stb.pc
Normal file
8
package/stb/stb.pc
Normal file
@@ -0,0 +1,8 @@
|
||||
prefix=/usr
|
||||
libdir=${prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: stb
|
||||
Description: single-file image and audio processing libraries for C/C++
|
||||
Version: 0.0
|
||||
Cflags: -I${includedir}/stb
|
||||
Reference in New Issue
Block a user