Files
bpfire/lfs/libplist
Adolf Belka 1e2f989fbd libplist: Update to version 2.3.0
- Update from version 2.2.0 to 2.3.0
- Update of rootfile
    2.3.0
	- Changes:
	  * Rename PLIST_UINT to PLIST_INT and add plist_new_int() and plist_get_int_val()
	  * Add support for JSON format
	  * Add support for OpenStep format
	  * Introduce error codes and format constants
	  * Add return value to import/export functions to allow returning error codes
	  * Add new plist_sort function
	  * Add several human-readable output-only formats
	  * Add new plist_write_to_string/_stream/_file functions
	  * Add new plist_print function
	  * Add new plist_read_from_file function
	  * Add new plist_mem_free() function
	  * Add a few C++ methods
	  * Add C++ interface test
	  * Add PLIST_NULL type
	  * Some code housekeeping (mostly clang-tidy)
	- Breaking:
	  * plist_from_memory() gets additional parameter
	- Bugfixes:
	  * Fix multiple bugs in all of the parsers
	  * Fix handling of PLIST_UID nodes

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2024-01-03 21:26:40 +00:00

92 lines
3.4 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
SUMMARY = A library to handle Apple Property List format in binary or XML
VER = 2.3.0
THISAPP = libplist-$(VER)
DL_FILE = $(THISAPP).tar.bz2
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = libplist
PAK_VER = 2
DEPS =
SERVICES =
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = e8c8fc59e7d694b1d69f0da3538ff313eb84d3c9ecad966c514d098e14308cc0bf9f67bfb4fe5b27c2638d1fc71294ed34fc9f881204e9c009f30c68a89b1a38
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
$(UPDATE_AUTOMAKE)
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--disable-static
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)