diff options
author | Florian Eckert <fe@dev.tdt.de> | 2021-02-15 13:00:33 +0100 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2022-09-22 01:29:04 -0700 |
commit | 7e3a2f926bf8ec02a7cdb0114bcfdaf65ab19d73 (patch) | |
tree | 64be1aa7ce45bce409a0dbfe79d54e72da736c56 | |
parent | 688a5413d087a4f8f70d523b189875831d6e39c4 (diff) |
libmspack: initial checkin
libmspack is a library for some loosely related Microsoft compression
formats: CAB, CHM, HLP, LIT, KWAJ and SZDD
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
-rw-r--r-- | libs/libmspack/Makefile | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/libs/libmspack/Makefile b/libs/libmspack/Makefile new file mode 100644 index 000000000..2693d1495 --- /dev/null +++ b/libs/libmspack/Makefile @@ -0,0 +1,62 @@ +# +# Copyright (C) 2021 TDT AG <development@tdt.de> +# +# This is free software, licensed under the GNU General Public License v2. +# See https://www.gnu.org/licenses/gpl-2.0.txt for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=libmspack +PKG_VERSION:=0.10.1alpha +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://www.cabextract.org.uk/$(PKG_NAME)/ +PKG_HASH:=bac862dee6e0fc10d92c70212441d9f8ad9b0222edc9a708c3ead4adb1b24a8e + +PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de> +PKG_LICENSE:=LGPL-2.1-or-later +PKG_LICENSE_FILES:=COPYING.LIB + +PKG_FIXUP:=autoreconf +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/libmspack + SECTION:=libs + CATEGORY:=Libraries + TITLE:=Compressors and decompressors for Microsoft formats + DEPENDS:=@TARGET_x86 + URL:=https://github.com/kyz/libmspack +endef + +define Package/libmspack/description + The purpose of libmspack is to provide compressors and decompressors, + archivers and dearchivers for Microsoft compression formats: CAB, CHM, WIM, + LIT, HLP, KWAJ and SZDD. It is also designed to be easily embeddable, + stable, robust and resource-efficient. +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/mspack.h \ + $(1)/usr/include/ + + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \ + $(1)/usr/lib/pkgconfig + + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* \ + $(1)/usr/lib +endef + +define Package/libmspack/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* \ + $(1)/usr/lib +endef + +$(eval $(call BuildPackage,libmspack)) |