zynq_zed: bump U-Boot to xilinx-v2016.2
[buildroot-gz.git] / package / dvdrw-tools / dvdrw-tools.mk
blob24daac1bd016fda79eca9eff4301e74cc7035329
1 ################################################################################
3 # dvdrw-tools
5 ################################################################################
7 DVDRW_TOOLS_VERSION = 7.1
8 DVDRW_TOOLS_SOURCE = dvd+rw-tools-$(DVDRW_TOOLS_VERSION).tar.gz
9 DVDRW_TOOLS_SITE = http://fy.chalmers.se/~appro/linux/DVD+RW/tools
10 DVDRW_TOOLS_LICENSE = GPLv2
11 DVDRW_TOOLS_LICENSE_FILES = LICENSE
12 DVDRW_TOOLS_DEPENDENCIES = host-m4
14 define DVDRW_TOOLS_BUILD_CMDS
15 $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
16 endef
18 ifeq ($(BR2_PACKAGE_DVDRW_TOOLS_CDRKIT_BACKEND),y)
19 DVDRW_TOOLS_BACKEND = genisoimage
20 DVDRW_TOOLS_DEPENDENCIES += cdrkit
21 else ifeq ($(BR2_PACKAGE_DVDRW_TOOLS_XORRISO_BACKEND),y)
22 DVDRW_TOOLS_BACKEND = xorrisofs
23 DVDRW_TOOLS_DEPENDENCIES += xorriso
24 endif
26 define DVDRW_TOOLS_INSTALL_TARGET_CMDS
27 $(INSTALL) -m 0755 -D $(@D)/dvd-ram-control $(TARGET_DIR)/usr/bin/dvd-ram-control
28 $(INSTALL) -m 0755 -D $(@D)/dvd+rw-booktype $(TARGET_DIR)/usr/bin/dvd+rw-booktype
29 $(INSTALL) -m 0755 -D $(@D)/dvd+rw-format $(TARGET_DIR)/usr/bin/dvd+rw-format
30 $(INSTALL) -m 0755 -D $(@D)/dvd+rw-mediainfo $(TARGET_DIR)/usr/bin/dvd+rw-mediainfo
31 $(INSTALL) -m 0755 -D $(@D)/growisofs $(TARGET_DIR)/usr/bin/growisofs
32 ln -s -f $(DVDRW_TOOLS_BACKEND) $(TARGET_DIR)/usr/bin/mkisofs
33 endef
35 $(eval $(generic-package))