summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2013-12-09 15:47:07 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-12-15 10:18:41 +0100
commit07cff613bc08535341cc00ce4f8dcf4cca3489b3 (patch)
tree565c24f3e1552e81760327760a60b4c25f7265b7 /tools
parentff1a5fb798a813c51c62a97d081aef5b48d84302 (diff)
add tools/cdrtools
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile2
-rw-r--r--tools/cdrtools/Makefile25
2 files changed, 26 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index ee096db61..e78a7fe42 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -3,7 +3,7 @@
include $(TOPDIR)/rules.mk
-TARGETS:=adk mkcrypt cpio mkimage genext2fs
+TARGETS:=adk mkcrypt cpio mkimage genext2fs cdrtools
TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS))
TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
diff --git a/tools/cdrtools/Makefile b/tools/cdrtools/Makefile
new file mode 100644
index 000000000..6b54d0eac
--- /dev/null
+++ b/tools/cdrtools/Makefile
@@ -0,0 +1,25 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= cdrtools
+PKG_VERSION:= 3.00
+PKG_RELEASE:= 1
+PKG_MD5SUM:= b7b6361bcce2cedff1ae437fadafe53b
+PKG_SITES:= ftp://ftp.berlios.de/pub/cdrecord/
+
+include ../rules.mk
+
+install: ${TOOLS_DIR}/mkisofs
+
+$(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
+ #(cd ${WRKBUILD}; ./configure)
+ ${MAKE} -C ${WRKBUILD} CC='${CC_FOR_BUILD}'
+ touch $@
+
+${TOOLS_DIR}/mkisofs: $(WRKBUILD)/.compiled
+ $(INSTALL_BIN) $(WRKBUILD)/mkisofs/OBJ/*/mkisofs \
+ ${TOOLS_DIR}
+
+include $(TOPDIR)/mk/tools.mk