summaryrefslogtreecommitdiff
path: root/system/gnu-fdisk/gnu-fdisk.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2013-11-15 22:43:31 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-11-21 23:52:41 -0600
commit86307dad2ce27de25c8ab2ad48481029c125a18d (patch)
treec83fb210db5d9cf6e247bf5036dfdd037fe779d5 /system/gnu-fdisk/gnu-fdisk.SlackBuild
parent099bba9e528c4d6a267f4006cc5997041077431e (diff)
downloadslackbuilds-86307dad2ce27de25c8ab2ad48481029c125a18d.tar.gz
system/gnu-fdisk: Removed (build failure)
fdisk.c: In function 'do_mkpart': fdisk.c:725:45: error: 'PedFileSystemOps' has no member named 'create' if (!compat_mode && fs_type && fs_type->ops->create && ^ fdisk.c: In function 'do_resize': fdisk.c:1564:26: error: 'PedFileSystemOps' has no member named 'resize' if (!part->fs_type->ops->resize) { Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/gnu-fdisk/gnu-fdisk.SlackBuild')
-rw-r--r--system/gnu-fdisk/gnu-fdisk.SlackBuild112
1 files changed, 0 insertions, 112 deletions
diff --git a/system/gnu-fdisk/gnu-fdisk.SlackBuild b/system/gnu-fdisk/gnu-fdisk.SlackBuild
deleted file mode 100644
index 8b7f11f02c..0000000000
--- a/system/gnu-fdisk/gnu-fdisk.SlackBuild
+++ /dev/null
@@ -1,112 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gnu-fdisk
-
-# Written by crocket (crockabiscuit@gmail.com)
-
-PRGNAM=gnu-fdisk
-ARCNAM=fdisk
-VERSION=${VERSION:-1.2.5}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-LIBDIRSUFFIX=""
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$ARCNAM-$VERSION.tar.bz2
-mv $ARCNAM-$VERSION $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --program-suffix="-gnu" \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-# Fixup a couple of symlinks
-( cd $PKG/usr/sbin
- rm -f lfdisk gfdisk
- ln -s fdisk-gnu lfdisk
- ln -s fdisk-gnu gfdisk
-)
-
-# Fix the info page naming
-( cd $PKG/usr/info
- mv cfdisk.info cfdisk-gnu.info
- mv fdisk.info fdisk-gnu.info
-)
-
-# Add a couple of symlinks in the manual pages
-( cd $PKG/usr/man/man8
- ln -s fdisk-gnu.8 lfdisk.8
- ln -s fdisk-gnu.8 gfdisk.8
-)
-
-# Remove an empty directory
-rmdir $PKG/usr/share 2>/dev/null || true
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-rm -f $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/*
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-