GCC: use -fuse-cxa-atexit by default
[unleashed-userland.git] / components / fbreader / Makefile
blobaff1f406f3c9f2720d992f9128f4ece8fdbf7994
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
5 # 1.0 of the CDDL.
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 2014 Alexander Pyhalov. All rights reserved.
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= fbreader
20 COMPONENT_VERSION= 0.12.10
21 COMPONENT_SUMMARY= Powerful e-book reader
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-sources-$(COMPONENT_VERSION).tgz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:328aec454db80e225aa0b5c31adef74bf62a14357482947e87e9731686b3c624
26 COMPONENT_ARCHIVE_URL= \
27 http://www.fbreader.org/files/sources/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL = http://www.fbreader.org/
30 include ../../make-rules/prep.mk
31 include ../../make-rules/justmake.mk
32 include ../../make-rules/ips.mk
34 PATH=/usr/gnu/bin:/usr/bin
36 COMPONENT_BUILD_ENV += TARGET_ARCH=desktop
37 COMPONENT_BUILD_ENV += UI_TYPE=gtk
38 COMPONENT_BUILD_ENV += TARGET_STATUS=release
39 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
41 build: $(BUILD_32)
43 install: $(INSTALL_32)