aboutsummaryrefslogtreecommitdiff
path: root/system/cdrkit/cdrkit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/cdrkit/cdrkit.SlackBuild')
-rw-r--r--system/cdrkit/cdrkit.SlackBuild19
1 files changed, 13 insertions, 6 deletions
diff --git a/system/cdrkit/cdrkit.SlackBuild b/system/cdrkit/cdrkit.SlackBuild
index 07e99dc8f086d..4c7415e2a640e 100644
--- a/system/cdrkit/cdrkit.SlackBuild
+++ b/system/cdrkit/cdrkit.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=cdrkit
VERSION=${VERSION:-1.1.11}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -57,7 +57,6 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
@@ -87,14 +86,22 @@ make install DESTDIR=$PKG
ln -s genisoimage mkisofs
)
+( cd 3rd-party/zisofs_tools
+ CFLAGS="$SLKCFLAGS" ./configure
+ make )
+
# Move manpages from /usr/share/man to /usr/man
mv $PKG/usr/share/man $PKG/usr/man/
rm -fR $PKG/usr/share
-install -m 0755 3rd-party/geteltorito/geteltorito.pl \
- $PKG/usr/bin/geteltorito.pl
-install -m 0644 3rd-party/geteltorito.1 \
- $PKG/usr/man/man1/geteltorito.1
+# Add other useful stuff
+install -m 0755 icedax/cdda2mp3 $PKG/usr/bin/cdda2mp3
+install -m 0755 3rd-party/zisofs_tools/mkzftree $PKG/usr/bin/mkzftree
+install -m 0755 3rd-party/geteltorito/geteltorito.pl $PKG/usr/bin/geteltorito
+install -m 0644 3rd-party/zisofs_tools/mkzftree.1 $PKG/usr/man/man1/mkzftree.1
+install -m 0644 3rd-party/geteltorito.1 $PKG/usr/man/man1/geteltorito.1
+install -m 0644 -D wodim/wodim.dfl $PKG/etc/wodim.conf
+install -m 0644 netscsid/netscsid.dfl $PKG/etc/netscsid.conf
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true