xz: change to new library paths
[unleashed-userland.git] / components / system-tools-backends / Makefile
blob4830dc79eebd04540195e0633e57e209e471022c
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
15 include ../../make-rules/shared-macros.mk
17 COMPONENT_NAME= system-tools-backends
18 COMPONENT_VERSION= 1.4.2
19 COMPONENT_REVISION= 2
20 COMPONENT_PROJECT_URL= http://system-tools-backends.freedesktop.org/
21 COMPONENT_SUMMARY= Backends for the GNOME System Tools
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:88af681912f8b1a9f51fe00ce13e233d28ae279128d04318db1b7e626482d2a8
26 COMPONENT_ARCHIVE_URL= http://system-tools-backends.freedesktop.org/downloads/1.4/$(COMPONENT_ARCHIVE)
28 include $(WS_TOP)/make-rules/prep.mk
29 include $(WS_TOP)/make-rules/configure.mk
30 include $(WS_TOP)/make-rules/ips.mk
32 PATH=$(shell dirname $(PERL)):/usr/gnu/bin:/usr/bin
34 # Missing files in build dir for configure without this.
35 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
37 CONFIGURE_OPTIONS+= --sysconfdir=/etc
39 COMPONENT_POST_INSTALL_ACTION = ( \
40 for file in $(PROTO_DIR)/usr/share/setup-tool-backends/scripts/* ; do \
41 $(GSED) -i '' -e "s:\#!/usr/bin/env perl:\#!$(PERL):" $$file ;\
42 done ; )
45 # common targets
46 build: $(BUILD_32)
48 install: $(INSTALL_32)
50 test: $(NO_TESTS)
52 include $(WS_TOP)/make-rules/depend.mk