| 1 |
NAME = libxml2 |
| 2 |
VERSION = 2.15.3 |
| 3 |
|
| 4 |
CATEGORIES = utils |
| 5 |
|
| 6 |
DESCRIPTION = XML parsing library |
| 7 |
define BLURB |
| 8 |
libxml2 is the XML C parser and toolkit developed for the Gnome project. |
| 9 |
It is free software available under the MIT License. |
| 10 |
endef |
| 11 |
|
| 12 |
DYNURLS = https://github.com/GNOME/libxml2/archive/refs/tags/v2.15.3.tar.gz |
| 13 |
GITHUB_REFERENCE = v2.15.3.tar.gz |
| 14 |
DISTFILES = libxml2-2.15.3.tar.gz |
| 15 |
|
| 16 |
LICENSE = Copyright |
| 17 |
|
| 18 |
WORKSRC = $(WORKDIR)/libxml2-2.15.3 |
| 19 |
|
| 20 |
PACKAGES = OZSWlibxml2 |
| 21 |
SPKG_DESC_OZSWlibxml2 = XML parsing library |
| 22 |
SPKG_CLASSES = cswdictconf |
| 23 |
RUNTIME_DEP_PKGS_OZSWlibxml2 = OZSWzlib OZSWlibiconv OZSWgettext |
| 24 |
|
| 25 |
CONFIGURE_ARGS = $(DIRPATHS) |
| 26 |
CONFIGURE_ARGS += --without-python |
| 27 |
CONFIGURE_ARGS += --without-readline |
| 28 |
CONFIGURE_ARGS += --disable-dependency-tracking |
| 29 |
|
| 30 |
EXTRA_LD_FLAGS += -lintl -liconv |
| 31 |
|
| 32 |
include gar/category.mk |
| 33 |
|
| 34 |
pre-configure: |
| 35 |
cd $(WORKSRC) && /opt/ozsw/bin/autoreconf -fi |
| 36 |
@$(MAKECOOKIE) |
| 37 |
|
| 38 |
post-configure: |
| 39 |
find $(WORKSRC) -name "libtool" \ |
| 40 |
-exec /usr/bin/gsed -i 's/ECHO="print -r --"/ECHO="printf %s\\n"/g' {} \; |
| 41 |
@$(MAKECOOKIE) |