author | Alasdair Lumsden <alasdairrr@gmail.com> |
Sun, 15 Jul 2012 13:23:55 +0100 | |
changeset 495 | 63f8e1ae86de |
child 515 | 4222a4941c8f |
permissions | -rw-r--r-- |
# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL)". You may # only use this file in accordance with the terms of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2012 EveryCity Ltd. All rights reserved. # include ../../make-rules/shared-macros.mk COMPONENT_NAME= libcaca COMPONENT_VERSION= 0.99.beta18 IPS_COMPONENT_VERSION= 0.99.18 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz COMPONENT_ARCHIVE_HASH= sha256:77ea06633f4a6022dccd4f76c1823e167a40cb05308fc1c7ea0fa1f80f6c33a1 COMPONENT_ARCHIVE_URL= http://caca.zoy.org/files/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) COMPONENT_PROJECT_URL= http://caca.zoy.org/wiki/libcaca include ../../make-rules/prep.mk include ../../make-rules/configure.mk include ../../make-rules/ips.mk GCC_ROOT= /usr/gcc/4.4 COMPILER= gcc # Use ncurses CURSES_DIR_32= /usr/gnu/lib CURSES_DIR_64= /usr/gnu/lib/$(MACH64) CURSES_DIR= $(CURSES_DIR_$(BITS)) LDFLAGS+= -L$(CURSES_DIR) -R$(CURSES_DIR) CPPFLAGS+= -I/usr/include/ncurses LDFLAGS+= -lnsl -lsocket -lresolv LDFLAGS+= $(CC_BITS) CONFIGURE_OPTIONS+= --disable-java CONFIGURE_OPTIONS+= --disable-ruby CONFIGURE_OPTIONS+= --enable-ncurses CONFIGURE_OPTIONS+= CFLAGS="$(CFLAGS)" CONFIGURE_OPTIONS+= CXXFLAGS="$(CXXFLAGS)" CONFIGURE_OPTIONS+= LDFLAGS="$(LDFLAGS)" build: $(BUILD_32_and_64) install: $(INSTALL_32_and_64)