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 2015 Alexander Pyhalov
14 include ..
/..
/..
/make-rules
/shared-macros.mk
16 COMPONENT_NAME
= id3lib
17 COMPONENT_VERSION
= 3.8.3
18 COMPONENT_SUMMARY
= id3lib
- a software library for manipulating ID3v1
/v1.1 and ID3v2
tags
19 COMPONENT_CLASSIFICATION
=System
/Multimedia Libraries
20 COMPONENT_PROJECT_URL
= http
://id3lib.sourceforge.net
/
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079
25 COMPONENT_ARCHIVE_URL
= http
://sourceforge.net
/projects
/id3lib
/files
/id3lib
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)/download
/
26 COMPONENT_FMRI
= library
/id3lib
27 COMPONENT_LICENSE
= LGPLv2
28 COMPONENT_LICENSE_FILE
= COPYING
30 include $(WS_MAKE_RULES
)/prep.mk
31 include $(WS_MAKE_RULES
)/configure.mk
32 include $(WS_MAKE_RULES
)/ips.mk
34 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
35 libtoolize
--copy
--force &&\
45 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
46 CONFIGURE_OPTIONS
+= --enable-shared
47 CONFIGURE_OPTIONS
+= --disable-static
48 CONFIGURE_OPTIONS
+= --enable-fpm
=$(FP_ARCH.
$(BITS
))
51 build
: $(BUILD_32_and_64
)
53 install: $(INSTALL_32_and_64
)