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
= libvisual
19 COMPONENT_VERSION
= 0.4.0
20 COMPONENT_SUMMARY
= Libvisual provides a convenient API for writing visualization plugins
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:78f38d3ce857edde5482aa4415b504bbcd4d4a688fd4de09ec2131ad08174279
25 COMPONENT_ARCHIVE_URL
= \
26 http
://downloads.sourceforge.net
/libvisual
/$(COMPONENT_ARCHIVE
)
27 COMPONENT_PROJECT_URL
= http
://sourceforge.net
/projects
/libvisual
/
28 COMPONENT_LICENSE_FILE
= COPYING
29 COMPONENT_LICENSE
= LGPLv2.1
30 COMPONENT_FMRI
= library
/desktop
/libvisual
31 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Libraries
33 include ..
/..
/make-rules
/prep.mk
34 include ..
/..
/make-rules
/configure.mk
35 include ..
/..
/make-rules
/ips.mk
37 # This is necessary fro mapfile to be found
38 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
40 LDFLAGS
+= -Wl
,-Mmap.remove_all
42 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
43 libtoolize
--copy
--force &&\
49 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
50 CONFIGURE_OPTIONS
+= --enable-shared
=yes
51 CONFIGURE_OPTIONS
+= --enable-static
=no
53 COMPONENT_POST_INSTALL_ACTION
= \
54 (cd
$(PROTOUSRDIR
) ; \
55 $(MV
) include/libvisual-0.4
/libvisual
/lvconfig.h
include/libvisual-0.4
/libvisual
/lvconfig-
$(BITS
).h
)
57 build
: $(BUILD_32_and_64
)
59 install: $(INSTALL_32_and_64
)