diff options
Diffstat (limited to 'homebrew/dvdxrwtools')
-rw-r--r-- | homebrew/dvdxrwtools/.beer | 39 | ||||
-rw-r--r-- | homebrew/dvdxrwtools/.make.sh-auto | 4 | ||||
-rw-r--r-- | homebrew/dvdxrwtools/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/dvdxrwtools/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/dvdxrwtools/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/dvdxrwtools/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/dvdxrwtools/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/dvdxrwtools/patches.sh | 18 |
8 files changed, 66 insertions, 0 deletions
diff --git a/homebrew/dvdxrwtools/.beer b/homebrew/dvdxrwtools/.beer new file mode 100644 index 000000000..22c166083 --- /dev/null +++ b/homebrew/dvdxrwtools/.beer @@ -0,0 +1,39 @@ +{ + "name": "DvdxrwTools", + "description": "DVD+-RW/R tools", + "url": "http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-7.1.tar.gz", + "mirror": null, + "homepage": "http://fy.chalmers.se/~appro/linux/DVD+RW/", + "depends": [], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": null, + "data": [ + "diff --git a/Makefile.m4 b/Makefile.m4\n", + "index a6a100b..bf7c041 100644\n", + "--- a/Makefile.m4\n", + "+++ b/Makefile.m4\n", + "@@ -30,8 +30,8 @@ LINK.o\t=$(LINK.cc)\n", + " # to install set-root-uid, `make BIN_MODE=04755 install'...\n", + " BIN_MODE?=0755\n", + " install:\tdvd+rw-tools\n", + "-\tinstall -o root -m $(BIN_MODE) $(CHAIN) /usr/bin\n", + "-\tinstall -o root -m 0644 growisofs.1 /usr/share/man/man1\n", + "+\tinstall -m $(BIN_MODE) $(CHAIN) $(PREFIX)/bin\n", + "+\tinstall -m 0644 growisofs.1 $(PREFIX)/share/man/man1\n", + " ])\n", + " \n", + " ifelse(OS,MINGW32,[\n" + ] + } + ], + "install": [ + "bin.mkpath", + "man1.mkpath", + "system \"make\", \"PREFIX=#{prefix}\", \"install\"" + ], + "version": "7.1", + "file": "dvd+rw-tools.rb" +}
\ No newline at end of file diff --git a/homebrew/dvdxrwtools/.make.sh-auto b/homebrew/dvdxrwtools/.make.sh-auto new file mode 100644 index 000000000..a64ee6869 --- /dev/null +++ b/homebrew/dvdxrwtools/.make.sh-auto @@ -0,0 +1,4 @@ +pkg:setup +bin.mkpath +man1.mkpath +make PREFIX=${PKG_TAPF} DESTDIR=${PKG_DEST} install diff --git a/homebrew/dvdxrwtools/_metadata/description b/homebrew/dvdxrwtools/_metadata/description new file mode 100644 index 000000000..f7bd2dacd --- /dev/null +++ b/homebrew/dvdxrwtools/_metadata/description @@ -0,0 +1 @@ +DVD+-RW/R tools diff --git a/homebrew/dvdxrwtools/_metadata/homepage b/homebrew/dvdxrwtools/_metadata/homepage new file mode 100644 index 000000000..3c662e7fb --- /dev/null +++ b/homebrew/dvdxrwtools/_metadata/homepage @@ -0,0 +1 @@ +http://fy.chalmers.se/~appro/linux/DVD+RW/ diff --git a/homebrew/dvdxrwtools/_metadata/name b/homebrew/dvdxrwtools/_metadata/name new file mode 100644 index 000000000..87c1dd870 --- /dev/null +++ b/homebrew/dvdxrwtools/_metadata/name @@ -0,0 +1 @@ +DvdxrwTools diff --git a/homebrew/dvdxrwtools/_metadata/version b/homebrew/dvdxrwtools/_metadata/version new file mode 100644 index 000000000..0f0fefae5 --- /dev/null +++ b/homebrew/dvdxrwtools/_metadata/version @@ -0,0 +1 @@ +7.1 diff --git a/homebrew/dvdxrwtools/download.sh b/homebrew/dvdxrwtools/download.sh new file mode 100755 index 000000000..561e461e6 --- /dev/null +++ b/homebrew/dvdxrwtools/download.sh @@ -0,0 +1 @@ +wget http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-7.1.tar.gz
\ No newline at end of file diff --git a/homebrew/dvdxrwtools/patches.sh b/homebrew/dvdxrwtools/patches.sh new file mode 100755 index 000000000..156902589 --- /dev/null +++ b/homebrew/dvdxrwtools/patches.sh @@ -0,0 +1,18 @@ +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +diff --git a/Makefile.m4 b/Makefile.m4 +index a6a100b..bf7c041 100644 +--- a/Makefile.m4 ++++ b/Makefile.m4 +@@ -30,8 +30,8 @@ LINK.o =$(LINK.cc) + # to install set-root-uid, `make BIN_MODE=04755 install'... + BIN_MODE?=0755 + install: dvd+rw-tools +- install -o root -m $(BIN_MODE) $(CHAIN) /usr/bin +- install -o root -m 0644 growisofs.1 /usr/share/man/man1 ++ install -m $(BIN_MODE) $(CHAIN) $(PREFIX)/bin ++ install -m 0644 growisofs.1 $(PREFIX)/share/man/man1 + ]) + + ifelse(OS,MINGW32,[ +EOF |