gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / gnome-mag / Makefile
blobbbfed6896fdf7d167c807ae20d161cf26b4ec4d6
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 2015 Alexander Pyhalov
15 include ../../make-rules/shared-macros.mk
17 COMPONENT_NAME= gnome-mag
18 COMPONENT_VERSION= 0.16.3
19 COMPONENT_PROJECT_URL= http://www.gnome.org
20 COMPONENT_SUMMARY= GNOME magnifier
21 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
23 COMPONENT_ARCHIVE_HASH= \
24 sha256:1ea1b1218ce621226b0397c4c548db29636ab663da7943440327e04345916d99
25 COMPONENT_ARCHIVE_URL= http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/0.16/$(COMPONENT_ARCHIVE)
26 COMPONENT_FMRI= gnome/accessibility/gnome-mag
27 COMPONENT_CLASSIFICATION= Applications/Universal Access
28 COMPONENT_LICENSE = GPLv2
29 COMPONENT_LICENSE_FILE = COPYING
31 include $(WS_TOP)/make-rules/prep.mk
32 include $(WS_TOP)/make-rules/configure.mk
33 include $(WS_TOP)/make-rules/ips.mk
35 PATH=/usr/gnu/bin:/usr/bin
37 COMPONENT_PREP_ACTION = ( cd $(@D) && \
38 libtoolize --copy --force &&\
39 aclocal -I m4 &&\
40 automake -c -f -a &&\
41 autoconf )
43 LIBS = -lm
45 CONFIGURE_OPTIONS += --sysconfdir=/etc
46 CONFIGURE_ENV += LIBS="$(LIBS)"
48 # common targets
49 build: $(BUILD_32)
51 install: $(INSTALL_32)
53 test: $(NO_TESTS)