wok-current rev 4555
Add cndrvcups-common, dev (canon printer drivers)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Dec 04 13:30:07 2009 +0000 (2009-12-04) |
parents | a0d93e8f5edf |
children | 925caa2692f7 |
files | cndrvcups-common-dev/receipt cndrvcups-common/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cndrvcups-common-dev/receipt Fri Dec 04 13:30:07 2009 +0000 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cndrvcups-common-dev" 1.7 +VERSION="1.80" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="cndrvcups-common devel file" 1.10 +MAINTAINER="jozee@slitaz.org" 1.11 +WANTED="cndrvcups-common" 1.12 +SOURCE="ufr2linuxv180" 1.13 +WEB_SITE="http://www.canon.com.au/pps/colour/imagepress_c1_drivers.aspx" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr 1.19 + _pkg="$WOK/$WANTED/$SOURCE/Sources/cndrvcups-common-$VERSION" 1.20 + cp -a $_pkg/buftool/_pkg/usr/include $fs/usr 1.21 + cp -a $_pkg/buftool/_pkg/usr/lib $fs/usr 1.22 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/cndrvcups-common/receipt Fri Dec 04 13:30:07 2009 +0000 2.3 @@ -0,0 +1,92 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="cndrvcups-common" 2.7 +VERSION="1.80" 2.8 +CATEGORY="system-tools" 2.9 +MAINTAINER="jozee@slitaz.org" 2.10 +SHORT_DESC="Canon URF2 driver with support for LBP, iR and MF series printers" 2.11 +WEB_SITE="http://www.canon.com.au/pps/colour/imagepress_c1_drivers.aspx" 2.12 +DEPENDS="cups cairo" 2.13 +BUILD_DEPENDS="autoconf automake cairo-dev gtk+-dev" 2.14 +SOURCE="ufr2linuxv180" 2.15 +TARBALL="${SOURCE}.zip" 2.16 +WGET_URL="http://www.service.canon.com.au/drivers/files/$TARBALL" 2.17 +TAGS="" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 + 2.21 +compile_rules() { 2.22 + 2.23 + src="$WOK/$PACKAGE/$SOURCE/Sources" 2.24 + cd $src 2.25 + 2.26 + [ -d cndrvcups-common-$VERSION ] || tar xzf cndrvcups-common-${VERSION}-1.tar.gz 2.27 + 2.28 + cd $src/cndrvcups-common-$VERSION/buftool 2.29 + ./autogen.sh --prefix=/usr && 2.30 + make && 2.31 + make DESTDIR=$PWD/_pkg LIBDIR=/usr/lib install 2.32 + 2.33 + cd $src/cndrvcups-common-$VERSION/cpca 2.34 + ./autogen.sh --prefix=/usr && 2.35 + make && 2.36 + make DESTDIR=$PWD/_pkg LIBDIR=$PWD/_pkg/usr/lib install 2.37 + 2.38 + cd $src/cndrvcups-common-$VERSION/cngplp 2.39 + ./autogen.sh --prefix=/usr && 2.40 + make && \ 2.41 + make DESTDIR=$PWD/_pkg install 2.42 + 2.43 + cd $src/cndrvcups-common-$VERSION/c3plmod_ipc 2.44 + make 2.45 + 2.46 +} 2.47 + 2.48 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.49 +genpkg_rules() 2.50 +{ 2.51 + mkdir -p $fs/usr/lib \ 2.52 + $fs/usr/bin/ \ 2.53 + $fs/usr/share/caepcm \ 2.54 + $fs/usr/share/licenses/$PACKAGE \ 2.55 + $fs/etc 2.56 + 2.57 + _pkg="$WOK/$PACKAGE/$SOURCE/Sources" 2.58 + 2.59 + cp -a $_pkg/cndrvcups-common-$VERSION/libs/*.so* $fs/usr/lib 2.60 + cp -a $_pkg/cndrvcups-common-$VERSION/libs/cnpkmodule $fs/usr/bin/ 2.61 + cp -a $_pkg/cndrvcups-common-$VERSION/libs/c3pldrv $fs/usr/bin/ 2.62 + cp -a $_pkg/cndrvcups-common-$VERSION/cpca/_pkg/usr/lib/*.so* $fs/usr/lib 2.63 + cp -a $_pkg/cndrvcups-common-$VERSION/cngplp/_pkg/etc $fs 2.64 + cp -a $_pkg/cndrvcups-common-$VERSION/cngplp/_pkg/usr $fs 2.65 + cp -a $_pkg/cndrvcups-common-$VERSION/c3plmod_ipc/libcanonc3pl.so.1.0.0 $fs/usr/lib 2.66 + cp -a $_pkg/cndrvcups-common-$VERSION/data/C* $fs/usr/share/caepcm 2.67 + 2.68 + # gzip all ppd files 2.69 + #find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9 2.70 + 2.71 + cd $fs/usr/lib 2.72 + ln -sf libc3pl.so.0.0.1 libc3pl.so.0 2.73 + ln -sf libc3pl.so.0.0.1 libc3pl.so 2.74 + 2.75 + ln -sf libcnaccm.so.1.0 libcnaccm.so.1 2.76 + ln -sf libcnaccm.so.1.0 libcnaccm.so 2.77 + 2.78 + ln -sf libcaepcm.so.1.0 libcaepcm.so.1 2.79 + ln -sf libcaepcm.so.1.0 libcaepcm.so 2.80 + 2.81 + ln -sf libcnlbcm.so.1.0 libcnlbcm.so.1 2.82 + ln -sf libcnlbcm.so.1.0 libcnlbcm.so 2.83 + 2.84 + ln -sf libcaiowrap.so.1.0.0 libcaiowrap.so.1 2.85 + ln -sf libcaiowrap.so.1.0.0 libcaiowrap.so 2.86 + 2.87 + ln -sf libcaiousb.so.1.0.0 libcaiousb.so.1 2.88 + ln -sf libcaiousb.so.1.0.0 libcaiousb.so 2.89 + 2.90 + ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so.1 2.91 + ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so 2.92 + 2.93 +} 2.94 + 2.95 +