3 include $(SRCDIR)/config/aros-contrib.cfg
5 REPOSITORIES := github://nih-at/libzip/archive
7 PATCHSPEC := $(ARCHBASE)-aros.diff:libzip-$(ARCHBASE):-p1
9 NOWARN_FLAGS := $(NOWARN_FORMAT) $(NOWARN_ERROR)
11 USER_CFLAGS := $(NOWARN_FLAGS)
14 -DBUILD_SHARED_LIBS=OFF
16 #MM- ports-libs : ports-libs-libzip
18 #MM ports-libs-libzip : includes-copy ports-libs-libzip-fetch contrib-openssl
20 %fetch mmake=ports-libs-libzip-fetch archive=$(ARCHBASE) destination=$(PORTSDIR)/libzip \
21 location=$(PORTSSOURCEDIR) archive_origins=$(REPOSITORIES) suffixes="tar.gz" \
22 patches_specs=$(PATCHSPEC)
24 %create_patch mmake=ports-libs-libzip-create-patch \
25 archive=$(ARCHBASE) srcdir=libzip-$(ARCHBASE) destination=$(PORTSDIR)/libzip
27 %build_with_cmake mmake=ports-libs-libzip \
28 srcdir="$(PORTSDIR)/libzip/libzip-$(ARCHBASE)" prefix="$(AROS_DEVELOPER)" \
29 extraoptions="$(LIBZIP_OPTIONS)"