wok annotate cndrvcups-common/receipt @ rev 11007

Up: gdb to 7.3.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 13 03:15:29 2011 +0000 (2011-10-13)
parents 2c7359247d61
children b7319995b37e
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"
jozee@4555 7 SHORT_DESC="Canon URF2 driver with support for LBP, iR and MF series printers"
jozee@4555 8 WEB_SITE="http://www.canon.com.au/pps/colour/imagepress_c1_drivers.aspx"
pascal@4999 9 DEPENDS="cups cairo gtk+"
jozee@4555 10 BUILD_DEPENDS="autoconf automake cairo-dev gtk+-dev"
jozee@4555 11 SOURCE="ufr2linuxv180"
jozee@4555 12 TARBALL="${SOURCE}.zip"
jozee@4555 13 WGET_URL="http://www.service.canon.com.au/drivers/files/$TARBALL"
jozee@4933 14 TAGS="printer driver"
jozee@4555 15
jozee@4555 16 # Rules to configure and make the package.
jozee@4555 17
jozee@4555 18 compile_rules() {
jozee@4555 19
pascal@9121 20 cd $src
jozee@4555 21
pascal@9121 22 [ -d cndrvcups-common-$VERSION ] || tar xzf Sources/cndrvcups-common-${VERSION}-1.tar.gz
jozee@4555 23
jozee@4555 24 cd $src/cndrvcups-common-$VERSION/buftool
jozee@4555 25 ./autogen.sh --prefix=/usr &&
jozee@4555 26 make &&
pascal@9058 27 make DESTDIR=$DESTDIR LIBDIR=/usr/lib install
jozee@4555 28
jozee@4555 29 cd $src/cndrvcups-common-$VERSION/cpca
jozee@4555 30 ./autogen.sh --prefix=/usr &&
jozee@4555 31 make &&
pascal@9121 32 make DESTDIR=$DESTDIR LIBDIR=$DESTDIR/usr/lib install
jozee@4555 33
jozee@4555 34 cd $src/cndrvcups-common-$VERSION/cngplp
jozee@4555 35 ./autogen.sh --prefix=/usr &&
jozee@4555 36 make && \
pascal@9058 37 make DESTDIR=$DESTDIR install
jozee@4555 38
jozee@4555 39 cd $src/cndrvcups-common-$VERSION/c3plmod_ipc
pascal@9121 40 make && cp -a $src/cndrvcups-common-$VERSION $DESTDIR
jozee@4555 41 }
jozee@4555 42
jozee@4555 43 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4555 44 genpkg_rules()
jozee@4555 45 {
jozee@4555 46 mkdir -p $fs/usr/lib \
jozee@4555 47 $fs/usr/bin/ \
jozee@4555 48 $fs/usr/share/caepcm \
jozee@4555 49 $fs/usr/share/licenses/$PACKAGE \
jozee@4555 50 $fs/etc
jozee@4555 51
jozee@4555 52 cp -a $_pkg/cndrvcups-common-$VERSION/libs/*.so* $fs/usr/lib
jozee@4555 53 cp -a $_pkg/cndrvcups-common-$VERSION/libs/cnpkmodule $fs/usr/bin/
jozee@4555 54 cp -a $_pkg/cndrvcups-common-$VERSION/libs/c3pldrv $fs/usr/bin/
pascal@9121 55 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@9121 56 cp -a $_pkg/etc $fs
pascal@9121 57 cp -a $_pkg/usr $fs
jozee@4555 58 cp -a $_pkg/cndrvcups-common-$VERSION/c3plmod_ipc/libcanonc3pl.so.1.0.0 $fs/usr/lib
jozee@4555 59 cp -a $_pkg/cndrvcups-common-$VERSION/data/C* $fs/usr/share/caepcm
jozee@4555 60
jozee@4555 61 # gzip all ppd files
jozee@4555 62 #find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9
jozee@4555 63
jozee@4555 64 cd $fs/usr/lib
jozee@4555 65 ln -sf libc3pl.so.0.0.1 libc3pl.so.0
jozee@4555 66 ln -sf libc3pl.so.0.0.1 libc3pl.so
jozee@4555 67
jozee@4555 68 ln -sf libcnaccm.so.1.0 libcnaccm.so.1
jozee@4555 69 ln -sf libcnaccm.so.1.0 libcnaccm.so
jozee@4555 70
jozee@4555 71 ln -sf libcaepcm.so.1.0 libcaepcm.so.1
jozee@4555 72 ln -sf libcaepcm.so.1.0 libcaepcm.so
jozee@4555 73
jozee@4555 74 ln -sf libcnlbcm.so.1.0 libcnlbcm.so.1
jozee@4555 75 ln -sf libcnlbcm.so.1.0 libcnlbcm.so
jozee@4555 76
jozee@4555 77 ln -sf libcaiowrap.so.1.0.0 libcaiowrap.so.1
jozee@4555 78 ln -sf libcaiowrap.so.1.0.0 libcaiowrap.so
jozee@4555 79
jozee@4555 80 ln -sf libcaiousb.so.1.0.0 libcaiousb.so.1
jozee@4555 81 ln -sf libcaiousb.so.1.0.0 libcaiousb.so
jozee@4555 82
jozee@4555 83 ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so.1
jozee@4555 84 ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so
jozee@4555 85
jozee@4555 86 }
jozee@4555 87
jozee@4555 88