xz: change to new library paths
[unleashed-userland.git] / components / evince / Makefile
blob024e894fb2ac7b31a526b648f46155ed35980532
1 #! /usr/bin/sh
4 # This file and its contents are supplied under the terms of the
5 # Common Development and Distribution License ("CDDL"), version 1.0.
6 # You may only use this file in accordance with the terms of version
7 # 1.0 of the CDDL.
9 # A full copy of the text of the CDDL should have accompanied this
10 # source. A copy of the CDDL is also available via the Internet at
11 # http://www.illumos.org/license/CDDL.
15 # Copyright 2014 Andrzej Szeszo. All rights reserved.
18 include ../../make-rules/shared-macros.mk
20 COMPONENT_NAME= evince
21 COMPONENT_VERSION= 2.32.0
22 COMPONENT_REVISION= 1
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:2a4c91ae38f8b5028cebb91b9da9ddc50ea8ae3f3d429df89ba351da2d787ff7
27 COMPONENT_ARCHIVE_URL= \
28 http://ftp.gnome.org/pub/GNOME/sources/evince/2.32/$(COMPONENT_ARCHIVE)
29 COMPONENT_PROJECT_URL= https://wiki.gnome.org/Apps/Evince
30 COMPONENT_FMRI= desktop/pdf-viewer/evince
31 COMPONENT_SUMMARY= GNOME PDF document viewer
32 COMPONENT_LICENSE= GPLv2
33 COMPONENT_LICENSE_FILE= COPYING
35 include ../../make-rules/prep.mk
36 include ../../make-rules/configure.mk
37 include ../../make-rules/ips.mk
39 COMPONENT_PREP_ACTION += \
40 cd $(@D); autoreconf --install --force
42 # For GNU gettext
43 CONFIGURE_ENV += PATH=/usr/gnu/bin:$(PATH)
45 CONFIGURE_OPTIONS+= --libexecdir=/usr/lib
46 CONFIGURE_OPTIONS+= --sysconfdir=/etc
48 build: $(BUILD_32)
50 install: $(INSTALL_32)