gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / cheese / Makefile
blob7baa360a4553c911344fc8227495a98122e358cb
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 (c) 2014 Alexander Pyhalov
13 # Copyright (c) 2014 Ken Mays
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= cheese
19 COMPONENT_VERSION= 2.28.1
20 COMPONENT_REVISION= 2
21 COMPONENT_PROJECT_URL= http://www.gnome.org
22 COMPONENT_SUMMARY= Cheese - GNOME application for taking photos and videos from a webcam
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:a1a2bb43c161829cbd1f87753abf26ed6d5fb79cd1ab9723dd65865d33950df4
27 COMPONENT_ARCHIVE_URL= http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/2.28/$(COMPONENT_ARCHIVE)
28 COMPONENT_FMRI= image/webcam/cheese
29 COMPONENT_CLASSIFICATION= Applications/Graphics and Imaging
30 COMPONENT_LICENSE= GPLv2
31 COMPONENT_LICENSE_FILE= COPYING
33 include $(WS_TOP)/make-rules/prep.mk
34 include $(WS_TOP)/make-rules/configure.mk
35 include $(WS_TOP)/make-rules/ips.mk
37 PATH=/usr/gnu/bin:/usr/bin
39 COMPONENT_PREP_ACTION += (cd $(@D) && \
40 libtoolize --force &&\
41 autoreconf -f -i)
43 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
45 CONFIGURE_OPTIONS+= --sysconfdir=/etc
46 CONFIGURE_OPTIONS+= --libexecdir=/usr/lib
48 COMPONENT_INSTALL_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
50 # common targets
51 build: $(BUILD_32)
53 install: $(INSTALL_32)
55 test: $(NO_TESTS)
57 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
59 include $(WS_TOP)/make-rules/depend.mk