2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Alexander Pyhalov
16 include ..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= libcanberra
19 COMPONENT_VERSION
= 0.26
21 COMPONENT_SUMMARY
= Event Sound API Using XDG Sound Theming Specification
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_ARCHIVE_HASH
= \
25 sha256
:4b5d8d2c2835133620adbc53745dd107b6e58b9a2963059e8f457143fee00982
26 COMPONENT_ARCHIVE_URL
= \
27 http
://0pointer.de
/lennart
/projects
/libcanberra
/$(COMPONENT_ARCHIVE
)
28 COMPONENT_PROJECT_URL
= http
://0pointer.de
/lennart
/projects
/libcanberra
/
29 COMPONENT_FMRI
= library
/desktop
/xdg
/libcanberra
30 COMPONENT_CLASSIFICATION
= System
/Multimedia Libraries
31 COMPONENT_LICENSE
= LGPLv2.1
32 COMPONENT_LICENSE_FILE
= LGPL
34 include ..
/..
/make-rules
/prep.mk
35 include ..
/..
/make-rules
/configure.mk
36 include ..
/..
/make-rules
/ips.mk
38 PATH
=/usr
/gnu
/bin
:/usr
/bin
40 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
41 libtoolize
--copy
--force &&\
42 glib-gettextize
-f
&&\
47 CFLAGS
+= -I
/usr
/include/gconf
/2
49 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
50 CONFIGURE_OPTIONS
+= --enable-gtk
51 CONFIGURE_OPTIONS
+= --disable-static
53 COMPONENT_INSTALL_ENV
+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
=1
55 build
: $(BUILD_32_and_64
)
57 install: $(INSTALL_32_and_64
)
59 test: $(TEST_32_and_64
)