summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 15:18:39 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 15:18:39 +0200
commit58b15e22bd75f2e7d62990aafbd128178ee895ca (patch)
tree8f017facf86c566daf60afced8bb8690d2952cb7 /system
parentea6339beab13f645309320e0ed62b2ae348d4e26 (diff)
downloadslackbuilds-58b15e22bd75f2e7d62990aafbd128178ee895ca.tar.gz
system/isomaster: Initial import
Diffstat (limited to 'system')
-rw-r--r--system/isomaster/Makefile.patch18
-rw-r--r--system/isomaster/README4
-rw-r--r--system/isomaster/doinst.sh3
-rw-r--r--system/isomaster/isomaster.SlackBuild45
-rw-r--r--system/isomaster/isomaster.info8
-rw-r--r--system/isomaster/slack-desc11
6 files changed, 89 insertions, 0 deletions
diff --git a/system/isomaster/Makefile.patch b/system/isomaster/Makefile.patch
new file mode 100644
index 0000000000..b14676dc26
--- /dev/null
+++ b/system/isomaster/Makefile.patch
@@ -0,0 +1,18 @@
+--- Makefile 2007-03-18 12:41:13.000000000 -0500
++++ Makefile.new 2007-03-25 23:06:35.000000000 -0500
+@@ -1,5 +1,5 @@
+ # Other paths are relative to this.
+-PREFIX ?= /usr/local
++PREFIX ?= /usr
+
+ # Where to install the executable.
+ BINPATH ?= $(PREFIX)/bin
+@@ -14,7 +14,7 @@
+ export LOCALEDIR ?= $(PREFIX)/share/locale
+
+ # Where to install the man page.
+-MYMANPATH ?= $(PREFIX)/share/man/man1
++MYMANPATH ?= $(PREFIX)/man/man1
+
+ # Where to install the .desktop file
+ DESKTOPPATH ?= $(PREFIX)/share/applications
diff --git a/system/isomaster/README b/system/isomaster/README
new file mode 100644
index 0000000000..cb5c22a911
--- /dev/null
+++ b/system/isomaster/README
@@ -0,0 +1,4 @@
+ISO Master is an open-source, easy to use, graphical CD image editor for
+Linux and BSD. Basically you can use this program to extract files from an
+ISO, add files to an ISO, and create bootable ISOs - all in a graphical
+user interface. It can open both ISO and NRG files but can only save as ISO.
diff --git a/system/isomaster/doinst.sh b/system/isomaster/doinst.sh
new file mode 100644
index 0000000000..85aad974d0
--- /dev/null
+++ b/system/isomaster/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x usr/bin/update-desktop-database ]; then
+ usr/bin/update-desktop-database &> /dev/null
+fi
diff --git a/system/isomaster/isomaster.SlackBuild b/system/isomaster/isomaster.SlackBuild
new file mode 100644
index 0000000000..121b117092
--- /dev/null
+++ b/system/isomaster/isomaster.SlackBuild
@@ -0,0 +1,45 @@
+#!/bin/sh
+
+# Slackware build script for ISO Master
+# Written by Erik Hanson erik@slackbuilds.org
+
+PRGNAM=isomaster
+VERSION=0.8.1
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+CWD=`pwd`
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+# No autotools, do manually.
+patch -p0 < $CWD/Makefile.patch || exit 1
+CFLAGS="$SLKCFLAGS" make || exit 1
+make install DESTDIR=$PKG || exit 1
+strip --strip-unneeded $PKG/usr/bin/*
+gzip -9 $PKG/usr/man/man?/*
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install
+cp -a CHANGELOG.TXT CREDITS.TXT LICENCE.TXT README.TXT TODO.TXT $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/system/isomaster/isomaster.info b/system/isomaster/isomaster.info
new file mode 100644
index 0000000000..5206db56ac
--- /dev/null
+++ b/system/isomaster/isomaster.info
@@ -0,0 +1,8 @@
+PRGNAM="isomaster"
+VERSION="0.8.1"
+HOMEPAGE="http://littlesvr.ca/isomaster/index.php"
+DOWNLOAD="http://littlesvr.ca/isomaster/releases/isomaster-0.8.1.tar.bz2"
+MD5SUM="32066d9358f7f2601c3dc5344687f572"
+MAINTAINER="Erik Hanson"
+EMAIL="erik@slackbuilds.org"
+APPROVED="BP{k}"
diff --git a/system/isomaster/slack-desc b/system/isomaster/slack-desc
new file mode 100644
index 0000000000..9bf9ecfca4
--- /dev/null
+++ b/system/isomaster/slack-desc
@@ -0,0 +1,11 @@
+isomaster: ISO Master - an easy to use, graphical CD image editor.
+isomaster:
+isomaster: ISO Master is an open-source, easy to use, graphical CD image
+isomaster: editor for Linux and BSD. Basically you can use this program to
+isomaster: extract files from an ISO, add files to an ISO, and create
+isomaster: bootable ISOs - all in a graphical user interface. It can open
+isomaster: both ISO and NRG files but can only save as ISO.
+isomaster:
+isomaster:
+isomaster: http://littlesvr.ca/isomaster/index.php
+isomaster: