You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
945 B
Makefile
44 lines
945 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME := tlsl
|
|
PKG_SOURCE_DATE := 2026-05-25
|
|
PKG_SOURCE_VERSION := ed6d2d1cd5305c3d5e393dcc9d1efc8b2ffc8079
|
|
PKG_RELEASE := 1
|
|
|
|
PKG_SOURCE_PROTO := git
|
|
PKG_SOURCE_URL := https://git.pantonshire.com/tom/tlsl
|
|
|
|
PKG_MAINTAINER := Tom Panton
|
|
PKG_LICENSE := MPL-2.0
|
|
|
|
PKG_INSTALL := 1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/meson.mk
|
|
|
|
MESON_ARGS += -Dexamples=false
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION := libs
|
|
CATEGORY := Libraries
|
|
TITLE := Tom's little standard library
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/description
|
|
C utilities
|
|
endef
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(1)/usr/include/tlsl
|
|
$(CP) $(PKG_BUILD_DIR)/include/public/*.h $(1)/usr/include/tlsl/
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(MESON_BUILD_DIR)/*.so $(1)/usr/lib/
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(MESON_BUILD_DIR)/*.so $(1)/usr/lib/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|