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) 2015 Alexander Pyhalov
15 include ..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= alacarte
18 COMPONENT_VERSION
= 0.13.2
19 COMPONENT_PROJECT_URL
= http
://www.gnome.org
20 COMPONENT_SUMMARY
= Simple menu editor for GNOME
21 COMPONENT_FMRI
= desktop
/xdg
/menu-editor
/alacarte
22 COMPONENT_CLASSIFICATION
= Applications
/Configuration and Preferences
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
25 COMPONENT_ARCHIVE_HASH
= \
26 sha256
:9fa36e5181b1eea947b184cb0f79d796b25cc5a5f122819a1ac2ff01bc7ee4ed
27 COMPONENT_ARCHIVE_URL
= http
://ftp.gnome.org
/pub
/GNOME
/sources
/$(COMPONENT_NAME
)/0.13/$(COMPONENT_ARCHIVE
)
28 COMPONENT_LICENSE_FILE
= COPYING
29 COMPONENT_LICENSE
= LGPLv2
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 intltoolize
--force --copy
--automake
&&\
39 libtoolize
--copy
--force &&\
45 COMPONENT_PRE_CONFIGURE_ACTION
= (chmod
-R u
+r
$(SOURCE_DIR
) && cp
-rp
$(SOURCE_DIR
)/* $(@D
) && \
46 cp
-r
$(COMPONENT_DIR
)/files
/po-sun
$(@D
) && \
47 cd
$(@D
)/po-sun
&& $(MAKE
) all )
49 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
50 CONFIGURE_OPTIONS
+= --libexecdir
=/usr
/lib
52 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
57 install: $(INSTALL_32
)
61 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
63 include $(WS_TOP
)/make-rules
/depend.mk