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 2016 Apostolos Syropoulos
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= vobcopy
20 COMPONENT_VERSION
= 1.2.0
22 COMPONENT_SUMMARY
= The VOBcopy DVD tool
23 COMPONENT_PROJECT_URL
= http
://www.vobcopy.org
/
24 COMPONENT_FMRI
= media
/vobcopy
25 COMPONENT_CLASSIFICATION
=System
/Media
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
28 COMPONENT_ARCHIVE_URL
= http
://www.vobcopy.org
/download
/$(COMPONENT_ARCHIVE
)
29 COMPONENT_ARCHIVE_HASH
= \
30 sha256
:511f3550c1dda3fd4dfb748ed7abb9cd6f1e46f8490faad406a19cbb947c1df9
31 COMPONENT_LICENSE
= GPLv2
33 include $(WS_MAKE_RULES
)/encumbered.mk
34 TEST_TARGET
=$(NO_TESTS
)
35 include $(WS_MAKE_RULES
)/common.mk
37 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
38 COMPONENT_BUILD_ENV
+= LDFLAGS
="$(LDFLAGS)"
40 COMPONENT_INSTALL_ARGS
+= DESTDIR
="$(PROTO_DIR)"
41 COMPONENT_INSTALL_ARGS
+= PREFIX
="$(USRDIR)"
42 COMPONENT_INSTALL_ARGS
+= BINDIR
="$(USRBINDIR)"
43 COMPONENT_INSTALL_ARGS
+= MANDIR
="$(USRSHAREMANDIR)"
44 COMPONENT_INSTALL_ARGS
+= DOCDIR
="$(USRSHAREDOCDIR)"
46 REQUIRED_PACKAGES
+= library
/video
/libdvdread
47 REQUIRED_PACKAGES
+= system
/library