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
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= id3lib
19 COMPONENT_VERSION
= 3.8.3
21 COMPONENT_SUMMARY
= id3lib
- a software library for manipulating ID3v1
/v1.1 and ID3v2
tags
22 COMPONENT_PROJECT_URL
= https
://id3lib.sourceforge.net
/
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= sha256
:2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079
26 COMPONENT_ARCHIVE_URL
= https
://sourceforge.net
/projects
/id3lib
/files
/id3lib
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)/download
/
27 COMPONENT_FMRI
= library
/id3lib
28 COMPONENT_CLASSIFICATION
=System
/Multimedia Libraries
29 COMPONENT_LICENSE
= LGPLv2
30 COMPONENT_LICENSE_FILE
= COPYING
32 include $(WS_MAKE_RULES
)/common.mk
34 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
35 libtoolize
--copy
--force && \
38 automake
-c
-f
-a
&& \
44 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
45 CONFIGURE_OPTIONS
+= --enable-shared
46 CONFIGURE_OPTIONS
+= --disable-static
47 CONFIGURE_OPTIONS
+= --enable-fpm
=$(FP_ARCH.
$(BITS
))
49 # Auto-generated dependencies
50 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
51 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
52 REQUIRED_PACKAGES
+= system
/library