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 (c) 2013 Alexander Pyhalov
15 include ..
/..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= dvd
+rw-tools
18 COMPONENT_VERSION
= 7.1
20 COMPONENT_PROJECT_URL
= http
://fy.chalmers.se
/~appro
/linux
/DVD
+RW
/
21 COMPONENT_SUMMARY
= DVD creation utilities
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_ARCHIVE_HASH
= \
25 sha256
:f8d60f822e914128bcbc5f64fbe3ed131cbff9045dca7e12c5b77b26edde72ca
26 COMPONENT_ARCHIVE_URL
= http
://fy.chalmers.se
/~appro
/linux
/DVD
+RW
/tools
/$(COMPONENT_ARCHIVE
)
27 COMPONENT_LICENSE
= GPLv2
28 COMPONENT_LICENSE_FILE
= LICENSE
29 COMPONENT_FMRI
= media
/dvd
+rw-tools
30 COMPONENT_CLASSIFICATION
= System
/Media
32 include $(WS_MAKE_RULES
)/prep.mk
33 include $(WS_MAKE_RULES
)/justmake.mk
34 include $(WS_MAKE_RULES
)/ips.mk
36 COMPONENT_BINDIR
.64= $(COMPONENT_BINDIR
)
38 CPPFLAGS
+= $(CPP_XPG6MODE
)
40 CFLAGS
+= -D_FILE_OFFSET_BITS
=64
41 CFLAGS
+= -DI_KNOW_ALL_ABOUT_SUDO
43 COMPONENT_BUILD_ARGS
+= CC
=$(CC
)
44 COMPONENT_BUILD_ARGS
+= CXX
=$(CXX
)
45 COMPONENT_BUILD_ARGS
+= CFLAGS
="$(CFLAGS)"
46 COMPONENT_BUILD_ARGS
+= CXXFLAGS
="$(CXXFLAGS)"
47 COMPONENT_BUILD_ARGS
+= LDFLAGS
="$(LDFLAGS)"
52 install: $(INSTALL_64
)
56 # Auto-generated dependencies
57 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
58 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
59 REQUIRED_PACKAGES
+= system
/library