Files
Daniel Golle 3650172e26 libb64: update to 2.0.0.1
Patch release fixing build system issues with the 2.0.0 release.
2.0.0 introduced API changes including:
 * Version macros for detection of incompatible API / version
 * size_t as argument to allow longer base64 encoded strings
 * Configurable line break functionality
 * Flags field for encoder
 * Helpers to calculate required output buffer maximum lengths
 * Switched in-/out-pointers to void*

Link: https://github.com/libb64/libb64/blob/v2.0.0.1/CHANGELOG.md
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-05-10 12:21:37 +02:00

35 lines
843 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=libb64
PKG_VERSION:=2.0.0.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/libb64/libb64/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=ce8e578a953a591bd4a6f157eec310b9a4c2e6f10ade2fdda6ae6bafaf798b98
PKG_LICENSE:=Public-Domain
PKG_LICENSE_FILES:=LICENSE.md
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
include $(INCLUDE_DIR)/package.mk
MAKE_FLAGS+=all_src
define Package/libb64
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Base64 Encoding/Decoding Routines
URL:=https://github.com/libb64/libb64
BUILDONLY:=1
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/b64 $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/include/b64/*.h $(1)/usr/include/b64
$(CP) $(PKG_BUILD_DIR)/src/*.a $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libb64))