system/ufiformat: Added.
Ufiformat is a formatting utility for USB floppy drives. Thanks to Ben Collver.
This commit is contained in:
parent
879a0af742
commit
48ce6075c6
|
@ -0,0 +1 @@
|
||||||
|
ufiformat is a formatting utility for USB floppy drives.
|
|
@ -0,0 +1,19 @@
|
||||||
|
# HOW TO EDIT THIS FILE:
|
||||||
|
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||||
|
# up the first '|' above the ':' following the base package name, and the '|'
|
||||||
|
# on the right side marks the last column you can put a character in. You must
|
||||||
|
# make exactly 11 lines for the formatting to be correct. It's also
|
||||||
|
# customary to leave one space after the ':'.
|
||||||
|
|
||||||
|
|-----handy-ruler-------------------------------------------------------|
|
||||||
|
ufiformat: ufiformat (a formatting utility for USB floppy drives)
|
||||||
|
ufiformat:
|
||||||
|
ufiformat: Homepage: http://www.geocities.jp/tedi_world/format_usbfdd_e.html
|
||||||
|
ufiformat:
|
||||||
|
ufiformat:
|
||||||
|
ufiformat:
|
||||||
|
ufiformat:
|
||||||
|
ufiformat:
|
||||||
|
ufiformat:
|
||||||
|
ufiformat:
|
||||||
|
ufiformat:
|
|
@ -0,0 +1,57 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Slackware build script for ufiFormat
|
||||||
|
# Written by Ben Collver <bencollver@gmail.com>
|
||||||
|
|
||||||
|
PRGNAM=ufiformat
|
||||||
|
VERSION=0.9.6
|
||||||
|
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"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
rm -rf $PKG
|
||||||
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
|
cd $TMP
|
||||||
|
rm -rf ${PRGNAM}_${VERSION}
|
||||||
|
tar xvf $CWD/${PRGNAM}-${VERSION}.tar.gz
|
||||||
|
cd ${PRGNAM}-${VERSION}
|
||||||
|
chown -R root:root .
|
||||||
|
chmod -R u+w,go+r-w,a-s .
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
|
make
|
||||||
|
make install-strip DESTDIR=$PKG
|
||||||
|
|
||||||
|
find $PKG -type f -exec gzip -9 {} \;
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cp -a AUTHORS COPYING ChangeLog README $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}
|
|
@ -0,0 +1,10 @@
|
||||||
|
PRGNAM="ufiformat"
|
||||||
|
VERSION="0.9.6"
|
||||||
|
HOMEPAGE="http://www.geocities.jp/tedi_world/format_usbfdd_e.html"
|
||||||
|
DOWNLOAD="http://www.geocities.jp/tedi_world/ufiformat-0.9.6.tar.gz"
|
||||||
|
DOWNLOAD_x86_64="UNTESTED"
|
||||||
|
MD5SUM="53a1c033bfca4f182a2c1199484484d8"
|
||||||
|
MD5SUM_x86_64=""
|
||||||
|
MAINTAINER="Ben Collver"
|
||||||
|
EMAIL="bencollver@gmail.com"
|
||||||
|
APPROVED="Erik Hanson"
|
Loading…
Reference in New Issue