Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] Cdrtools is a set of command line programs that allows to record CD/DVD/BluRay media. This package contains the cdrecord & mkisofs programs.
@ 2015-02-02  5:40 Steve Kenton
  2015-02-02  5:40 ` [Buildroot] [PATCH 2/2] Add hash file Steve Kenton
  2015-02-02  9:35 ` [Buildroot] [PATCH 1/2] Cdrtools is a set of command line programs that allows to record CD/DVD/BluRay media. This package contains the cdrecord & mkisofs programs Thomas Petazzoni
  0 siblings, 2 replies; 7+ messages in thread
From: Steve Kenton @ 2015-02-02  5:40 UTC (permalink / raw)
  To: buildroot

http://sourceforge.net/projects/cdrtools
Signed-off-by: Steve Kenton <skenton@ou.edu>
---
 package/Config.in            |  1 +
 package/cdrtools/Config.in   | 12 ++++++++++++
 package/cdrtools/cdrtools.mk | 21 +++++++++++++++++++++
 3 files changed, 34 insertions(+)
 create mode 100644 package/cdrtools/Config.in
 create mode 100644 package/cdrtools/cdrtools.mk

diff --git a/package/Config.in b/package/Config.in
index dd011be..1748e88 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -6,6 +6,7 @@ menu "Audio and video applications"
 	source "package/alsa-utils/Config.in"
 	source "package/aumix/Config.in"
 	source "package/bellagio/Config.in"
+	source "package/cdrtools/Config.in"
 	source "package/dvdauthor/Config.in"
 	source "package/espeak/Config.in"
 	source "package/faad2/Config.in"
diff --git a/package/cdrtools/Config.in b/package/cdrtools/Config.in
new file mode 100644
index 0000000..8583cec
--- /dev/null
+++ b/package/cdrtools/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_CDRTOOLS
+	bool "cdrtools"
+	depends on BR2_USE_WCHAR && BR2_LARGEFILE
+	help
+	  Cdrtools is a set of command line programs that
+	  allows to record CD/DVD/BluRay media. This
+	  package contains the cdrecord & mkisofs programs.
+	  
+	  http://sourceforge.net/projects/cdrtools
+
+comment "cdrtools needs a toolchain w/ wchar, largefile"
+	depends on !BR2_USE_WCHAR || !BR2_LARGEFILE
diff --git a/package/cdrtools/cdrtools.mk b/package/cdrtools/cdrtools.mk
new file mode 100644
index 0000000..a732e69
--- /dev/null
+++ b/package/cdrtools/cdrtools.mk
@@ -0,0 +1,21 @@
+#############################################################
+#
+# cdrtools
+#
+#############################################################
+CDRTOOLS_VERSION = 3.00
+CDRTOOLS_SITE = http://sourceforge.net/projects/cdrtools/files
+CDRTOOLS_LICENSE = Various parts under GPLv2.0, LGPLv2.1, CDDL - see COPYING
+CDRTOOLS_LICENSE_FILES = COPYING
+
+define CDRTOOLS_BUILD_CMDS
+	$(MAKE) -C $(@D)
+endef
+
+define CDRTOOLS_INSTALL_TARGET_CMDS
+	$(INSTALL) -m 0755 -D $(@D)/cdrecord/OBJ/x86_64-linux-cc/cdrecord $(TARGET_DIR)/usr/bin/cdrecord
+	$(INSTALL) -m 0755 -D $(@D)/readcd/OBJ/x86_64-linux-cc/readcd $(TARGET_DIR)/usr/bin/readcd
+	$(INSTALL) -m 0755 -D $(@D)/mkisofs/OBJ/x86_64-linux-cc/mkisofs $(TARGET_DIR)/usr/bin/mkisofs
+endef
+
+$(eval $(generic-package))
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-02-02 16:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-02  5:40 [Buildroot] [PATCH 1/2] Cdrtools is a set of command line programs that allows to record CD/DVD/BluRay media. This package contains the cdrecord & mkisofs programs Steve Kenton
2015-02-02  5:40 ` [Buildroot] [PATCH 2/2] Add hash file Steve Kenton
2015-02-02  9:50   ` Thomas Petazzoni
2015-02-02 15:03     ` Steve Kenton
2015-02-02 16:55       ` Thomas Petazzoni
2015-02-02  9:35 ` [Buildroot] [PATCH 1/2] Cdrtools is a set of command line programs that allows to record CD/DVD/BluRay media. This package contains the cdrecord & mkisofs programs Thomas Petazzoni
2015-02-02 14:59   ` Steve Kenton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox