system/cnijfilter2: Updated for version 5.90.1.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Kenneth Chan 2020-01-05 02:30:39 -06:00 committed by Willy Sudiarto Raharjo
parent 4c2e8bb7bd
commit a2a01fba9a
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 21 additions and 20 deletions

View file

@ -23,12 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cnijfilter2
VERSION=${VERSION:-5.80.1}
VERSION=${VERSION:-5.90.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCNAM=$PRGNAM-source
SRCVERSION=5.80-1
SRCVERSION=5.90-1
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -84,15 +84,17 @@ find -L . \
common_pkg="cmdtocanonij2 cmdtocanonij3 cnijbe2 lgmon3 rastertocanonij tocanonij tocnpwg"
for dir in $common_pkg; do
( cd $dir
cd $dir
./autogen.sh --prefix=/usr LDFLAGS="$LDFLAGS"
make
make install-strip DESTDIR=$PKG )
make install-strip DESTDIR=$PKG
cd ..
done
( cd lgmon3 ; ./autogen.sh --prefix=/usr --enable-libpath=/usr/lib/bjlib2 \
LDFLAGS="$LDFLAGS"
cd lgmon3
./autogen.sh --prefix=/usr --enable-libpath=/usr/lib/bjlib2 LDFLAGS="$LDFLAGS"
make
make install-strip DESTDIR=$PKG )
make install-strip DESTDIR=$PKG
cd ..
if [ "$ARCH" = "x86_64" ]; then
mv $PKG/usr/lib $PKG/usr/lib64
@ -111,24 +113,23 @@ elif [ "$ARCH" = "i686" ]; then
install -c -m 755 com/libs_bin32/libcnbpcnclapicom2.so.* $PKG/usr/lib/
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/share/ppd/cnijfilter2 \
$PKG/usr/doc/$PRGNAM-$VERSION/lproptions
mkdir -p $PKG/usr/share/ppd/cnijfilter2
cp -a ppd/*.ppd $PKG/usr/share/ppd/cnijfilter2
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/lproptions
cp -a doc/* $PKG/usr/doc/$PRGNAM-$VERSION
cp -a lproptions/lpr* $PKG/usr/doc/$PRGNAM-$VERSION/lproptions
cat ppd/NEWS > $PKG/usr/doc/$PRGNAM-$VERSION/NEWS
cp -a ppd/*.ppd $PKG/usr/share/ppd/cnijfilter2
# Copy all README to /usr/doc
for dir in $common_pkg; do
mkdir $PKG/usr/doc/$PRGNAM-$VERSION/$dir
( cd $dir
cd $dir
for file in AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README; do
[ -f $file ] && cp -a $file $PKG/usr/doc/$PRGNAM-$VERSION/$dir
done
)
cd ..
done
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.SBo
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="cnijfilter2"
VERSION="5.80.1"
HOMEPAGE="https://support-asia.canon-asia.com/contents/ASIA/EN/0101027301.html"
DOWNLOAD="http://gdlp01.c-wss.com/gds/3/0100010273/01/cnijfilter2-source-5.80-1.tar.gz"
MD5SUM="c201a3b93802ede86041616e678abba2"
VERSION="5.90.1"
HOMEPAGE="https://asia.canon/en/support/0101048401"
DOWNLOAD="http://gdlp01.c-wss.com/gds/4/0100010484/01/cnijfilter2-source-5.90-1.tar.gz"
MD5SUM="11029121b7003a3ebd5d53a1331673a7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -16,4 +16,4 @@ cnijfilter2: series, MG2900 series, MB2000 series, MB2300, iB4000 series,
cnijfilter2: MB5000 series, MB5300 series, iP110 series, E450 series, MX490
cnijfilter2: series, E480 series.
cnijfilter2:
cnijfilter2: http://support-asia.canon-asia.com/contents/ASIA/EN/0100666902.html
cnijfilter2: Homepage: https://asia.canon/en/support/0101048401