2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2013 Aurelien Larcher. All rights reserved.
16 include ..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= zziplib
19 COMPONENT_VERSION
= 0.13.62
20 COMPONENT_FMRI
= compress
/zziplib
21 COMPONENT_PROJECT_URL
= http
://zziplib.sourceforge.net
/
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
24 COMPONENT_ARCHIVE_HASH
= \
25 sha256
:a1b8033f1a1fd6385f4820b01ee32d8eca818409235d22caf5119e0078c7525b
26 COMPONENT_ARCHIVE_URL
= http
://sourceforge.net
/projects
/zziplib
/files
/zziplib13
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)/download
27 COMPONENT_BUGDB
= $(COMPONENT_FMRI
)
28 COMPONENT_LICENSE
= GPLv2
29 COMPONENT_LICENSE_FILE
= $(COMPONENT_NAME
).license
31 COMPONENT_SUMMARY
= Lightweight ZIP library
33 include $(WS_MAKE_RULES
)/prep.mk
34 include $(WS_MAKE_RULES
)/configure.mk
35 include $(WS_MAKE_RULES
)/ips.mk
38 CONFIGURE_OPTIONS
+= --enable-shared
39 CONFIGURE_OPTIONS
+= --disable-static
40 CONFIGURE_OPTIONS
+= --enable-largefile
42 build
: $(BUILD_32_and_64
)
44 install: $(INSTALL_32_and_64
)
48 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
50 include $(WS_MAKE_RULES
)/depend.mk