wok-6.x annotate cndrvcups-common/receipt @ rev 24380

blender: added implicite build dependency libboost-locale
author Hans-G?nter Theisgen
date Sun Feb 06 10:08:38 2022 +0100 (2022-02-06)
parents d3f28afe2d29
children 599ac1affa58
rev   line source
jozee@4555 1 # SliTaz package receipt.
jozee@4555 2
jozee@4555 3 PACKAGE="cndrvcups-common"
jozee@4555 4 VERSION="1.80"
jozee@4555 5 CATEGORY="system-tools"
jozee@4555 6 MAINTAINER="jozee@slitaz.org"
pascal@15606 7 LICENSE="other"
jozee@4555 8 SHORT_DESC="Canon URF2 driver with support for LBP, iR and MF series printers"
pascal@20682 9 WEB_SITE="http://www.service.canon.com.au/drivers/files/"
jozee@4555 10 SOURCE="ufr2linuxv180"
jozee@4555 11 TARBALL="${SOURCE}.zip"
jozee@4555 12 WGET_URL="http://www.service.canon.com.au/drivers/files/$TARBALL"
jozee@4933 13 TAGS="printer driver"
jozee@4555 14
pascal@15071 15 DEPENDS="cups cairo gtk+"
pascal@15619 16 BUILD_DEPENDS="autoconf automake cairo-dev gtk+-dev cups-dev libtool"
pascal@15071 17
jozee@4555 18 # Rules to configure and make the package.
jozee@4555 19
jozee@4555 20 compile_rules() {
jozee@4555 21
pascal@9121 22 cd $src
gokhlayeh@11573 23
pascal@9121 24 [ -d cndrvcups-common-$VERSION ] || tar xzf Sources/cndrvcups-common-${VERSION}-1.tar.gz
gokhlayeh@11573 25
gokhlayeh@11573 26 cd $src/cndrvcups-common-$VERSION/buftool
gokhlayeh@11573 27 ./autogen.sh --prefix=/usr $CONFIGURE_ARGS &&
gokhlayeh@11573 28 make &&
pascal@9058 29 make DESTDIR=$DESTDIR LIBDIR=/usr/lib install
gokhlayeh@11573 30
gokhlayeh@11573 31 cd $src/cndrvcups-common-$VERSION/cpca
gokhlayeh@11573 32 ./autogen.sh --prefix=/usr $CONFIGURE_ARGS &&
gokhlayeh@11573 33 make &&
pascal@9121 34 make DESTDIR=$DESTDIR LIBDIR=$DESTDIR/usr/lib install
gokhlayeh@11573 35
gokhlayeh@11573 36 cd $src/cndrvcups-common-$VERSION/cngplp
gokhlayeh@11573 37 ./autogen.sh --prefix=/usr $CONFIGURE_ARGS &&
jozee@4555 38 make && \
pascal@9058 39 make DESTDIR=$DESTDIR install
gokhlayeh@11573 40
gokhlayeh@11573 41 cd $src/cndrvcups-common-$VERSION/c3plmod_ipc
pascal@9121 42 make && cp -a $src/cndrvcups-common-$VERSION $DESTDIR
jozee@4555 43 }
jozee@4555 44
jozee@4555 45 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4555 46 genpkg_rules()
jozee@4555 47 {
jozee@4555 48 mkdir -p $fs/usr/lib \
jozee@4555 49 $fs/usr/bin/ \
jozee@4555 50 $fs/usr/share/caepcm \
jozee@4555 51 $fs/usr/share/licenses/$PACKAGE \
jozee@4555 52 $fs/etc
gokhlayeh@11573 53
pascal@15071 54 cp -a $install/cndrvcups-common-$VERSION/libs/*.so* $fs/usr/lib
pascal@15071 55 cp -a $install/cndrvcups-common-$VERSION/libs/cnpkmodule $fs/usr/bin/
pascal@15071 56 cp -a $install/cndrvcups-common-$VERSION/libs/c3pldrv $fs/usr/bin/
pascal@15071 57 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15071 58 cp -a $install/etc $fs
pascal@15071 59 cp -a $install/usr $fs
pascal@15071 60 cp -a $install/cndrvcups-common-$VERSION/c3plmod_ipc/libcanonc3pl.so.1.0.0 $fs/usr/lib
pascal@15071 61 cp -a $install/cndrvcups-common-$VERSION/data/C* $fs/usr/share/caepcm
gokhlayeh@11573 62
jozee@4555 63 # gzip all ppd files
jozee@4555 64 #find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9
gokhlayeh@11573 65
jozee@4555 66 cd $fs/usr/lib
jozee@4555 67 ln -sf libc3pl.so.0.0.1 libc3pl.so.0
jozee@4555 68 ln -sf libc3pl.so.0.0.1 libc3pl.so
gokhlayeh@11573 69
jozee@4555 70 ln -sf libcnaccm.so.1.0 libcnaccm.so.1
jozee@4555 71 ln -sf libcnaccm.so.1.0 libcnaccm.so
gokhlayeh@11573 72
jozee@4555 73 ln -sf libcaepcm.so.1.0 libcaepcm.so.1
jozee@4555 74 ln -sf libcaepcm.so.1.0 libcaepcm.so
gokhlayeh@11573 75
jozee@4555 76 ln -sf libcnlbcm.so.1.0 libcnlbcm.so.1
jozee@4555 77 ln -sf libcnlbcm.so.1.0 libcnlbcm.so
gokhlayeh@11573 78
jozee@4555 79 ln -sf libcaiowrap.so.1.0.0 libcaiowrap.so.1
jozee@4555 80 ln -sf libcaiowrap.so.1.0.0 libcaiowrap.so
gokhlayeh@11573 81
jozee@4555 82 ln -sf libcaiousb.so.1.0.0 libcaiousb.so.1
jozee@4555 83 ln -sf libcaiousb.so.1.0.0 libcaiousb.so
gokhlayeh@11573 84
jozee@4555 85 ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so.1
gokhlayeh@11573 86 ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so
jozee@4555 87 }
jozee@4555 88
jozee@4555 89