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
15 include ..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= libcdio
18 COMPONENT_VERSION
= 0.93
19 COMPONENT_PROJECT_URL
= http
://www.gnu.org
/software
/libcdio
/
20 COMPONENT_SUMMARY
= GNU Compact Disc Input and Control Library
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:f8276629226c7e1e74209b66ca421d09d6aec87f72f60ae9b1d3debd0a13dda8
25 COMPONENT_ARCHIVE_URL
= http
://ftp.gnu.org
/gnu
/libcdio
/$(COMPONENT_ARCHIVE
)
26 COMPONENT_LICENSE
= GPLv3
27 COMPONENT_LICENSE_FILE
= COPYING
28 COMPONENT_CLASSIFICATION
= System
/Libraries
29 COMPONENT_FMRI
= library
/audio
/libcdio
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 CPPFLAGS
+= -I
/usr
/gnu
/include -I
/usr
/gnu
/include/ncurses
38 CPPFLAGS
+= -I
/usr
/include/dbus-1.0
-I
/usr
/lib
/dbus-1.0
/include -DDBUS_API_SUBJECT_TO_CHANGE
39 CPPFLAGS
+= -D_FILE_OFFSET_BITS
=64
41 LDFLAGS
+= -lhal
-ldbus-1
43 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
44 CONFIGURE_OPTIONS
+= --disable-cpp-progs
45 CONFIGURE_OPTIONS
+= --disable-cxx
46 CONFIGURE_OPTIONS
+= --disable-static
48 CONFIGURE_ENV
+= CPPFLAGS
="$(CPPFLAGS)"
50 COMPONENT_POST_INSTALL_ACTION
= \
51 (cd
$(PROTOUSRDIR
) ; $(MV
) include/cdio
/cdio_config.h
include/cdio
/cdio_config-
$(BITS
).h
)
56 build
: $(BUILD_32_and_64
)
58 install: $(INSTALL_32_and_64
)