p7zip: assorted fixes
[oi-userland.git] / components / network / bridge / Makefile
blob65fef3b0677ef465a958d6b287eea24bfb074a29
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016 Jim Klimov
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= bridge
18 COMPONENT_VERSION= 0.1.3.2
19 COMPONENT_LICENSE= CDDL,BSD
20 COMPONENT_LICENSE_FILE= brdg.license
21 COMPONENT_GIT_REV= 4b4e3ed
22 COMPONENT_FMRI= driver/network/brdg
23 COMPONENT_SRC= kaizawa-$(COMPONENT_NAME)-$(COMPONENT_GIT_REV)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_HASH= sha256:4eb9d76152081284d7f1ff5c7a60116d463bffc1a0724f5ecda85592db09b283
26 COMPONENT_PROJECT_URL= http://www.whiteboard.ne.jp/~admin2/tuntap/
27 COMPONENT_ARCHIVE_URL= https://codeload.github.com/kaizawa/$(COMPONENT_NAME)/legacy.tar.gz/$(COMPONENT_GIT_REV)
28 COMPONENT_CLASSIFICATION= Drivers/Networking
29 COMPONENT_SUMMARY= The 'brdg' is a STREAMS module which enables briging 2 interfaces
30 COMPONENT_DESCRIPTION= $(COMPONENT_SUMMARY), \
31 and 'brdgadm' is a configuration command to add/delete bridge interfaces. \
32 This program is not tested well. It might cause system panic or hang. \
33 DON'T install this on production system. Use this at your own risk.
35 include $(WS_MAKE_RULES)/prep.mk
36 include $(WS_MAKE_RULES)/configure.mk
37 include $(WS_MAKE_RULES)/ips.mk
39 COMPONENT_PREP_ACTION = \
40 (cd $(@D) && autoreconf -fiv)
42 CFLAGS += $(CPP_LARGEFILES)
43 LDFLAGS += $(LD_Z_DEFS) $(LD_Z_TEXT) -lpthread
45 CONFIGURE_OPTIONS.32 += --disable-64bit
46 CONFIGURE_OPTIONS.64 += --enable-64bit
48 # common targets
49 build: $(BUILD_32_and_64)
51 install: $(INSTALL_32_and_64)
53 # Auto-generated dependencies
54 REQUIRED_PACKAGES += system/library