ap/foo2zjs: Upgraded to foo2zjs-20090830.

slackware-14.2
Damien Goutte-Gattat 13 years ago
parent 9f511f4001
commit 36d84d044a
  1. 4
      ap/foo2zjs/doinst.sh
  2. 20
      ap/foo2zjs/foo2zjs.SlackBuild
  3. 2
      ap/foo2zjs/foo2zjs.tar.gz.sha1

@ -1,6 +1,6 @@
#!/bin/sh
if test -x /sbin/udevcontrol ; then
/sbin/udevcontrol reload_rules
if test -x /sbin/udevadm ; then
/sbin/udevadm control --reload-rules
fi
if test -x /etc/rc.d/rc.cups ; then
if test "`/etc/rc.d/rc.cups status`" = "cups: scheduler is running." ; then

@ -27,20 +27,21 @@
# Source package infos
NAMESRC=${NAMESRC:-foo2zjs}
VERSION=${VERSION:-20090528}
VERSION=${VERSION:-20090830}
ARCHIVE=${ARCHIVE:-$NAMESRC.tar.gz}
WGET=${WGET:-http://foo2zjs.rkkda.com/$ARCHIVE}
# Built package infos
NAMETGZ=${NAMETGZ:-foo2zjs}
NAMEPKG=${NAMEPKG:-foo2zjs}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-i486}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
# Directories
TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMETGZ}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
set -e
@ -86,9 +87,6 @@ cd $NAME
if [ -f $CWD/extra.tar.gz ]; then
tar xf $CWD/extra.tar.gz
else
# ftp.minolta-qms.com does not respond
sed -i 's/\(getone 2[23]00\)/#\1/' getweb.in
sh getweb.in all
# Fix permissions and create an archive, so that we don't
# have to download these files again
@ -114,21 +112,17 @@ for model in 10{05,18,20} P1{005,006,007,008,505} ; do
done
# Strip binaries
find $PKG | xargs file | grep "ELF 32-bit LSB" | cut -d : -f 1 | \
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Move man pages and docs to the right place
mkdir -p $PKG/usr/doc
mv $PKG/usr/share/man $PKG/usr/man
mv $PKG/usr/share/doc/foo2zjs $PKG/usr/doc/$NAMETGZ-$VERSION
mv $PKG/usr/share/doc/foo2zjs $PKG/usr/doc/$NAMEPKG-$VERSION
rmdir $PKG/usr/share/doc
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
for manpage in $(find $PKG/usr/man -type l); do
ln -s $(readlink $manpage).gz $manpage.gz
rm -f $manpage
done
# Copy slack-desc and doinst.sh files
mkdir -p $PKG/install
@ -140,7 +134,7 @@ cd $PKG
mkdir -p $OUT
PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMETGZ-$VERSION-$ARCH-$BUILD.tgz
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAME
"

@ -1 +1 @@
cdde7d12cd57ed3fd0c2c6c49cf700e5f534b170 foo2zjs.tar.gz
ebda67be967a5f90fa959dd108658732d0cf6be0 foo2zjs.tar.gz

Loading…
Cancel
Save