2014-04-18 14:10:05 +00:00
|
|
|
# Template file for 'brother-dcp197c-lpr'
|
|
|
|
pkgname=brother-dcp197c-lpr
|
|
|
|
version=1.1.3
|
2014-06-18 08:46:25 +00:00
|
|
|
revision=3
|
2014-04-18 14:10:05 +00:00
|
|
|
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
|
|
|
homepage="http://support.brother.com/g/b/index.aspx"
|
|
|
|
license="GPL-2"
|
|
|
|
short_desc="LPR driver for the brother DCP-197C printer/scanner"
|
|
|
|
distfiles="http://download.brother.com/welcome/dlf005403/dcp197clpr-${version}-1.i386.deb"
|
|
|
|
checksum="e6427ae596f0f65ca2d39167fe42a4a79c0b254b1f16bd282a2b245db56f4ea1"
|
|
|
|
only_for_archs="i686 x86_64"
|
2014-06-18 08:46:25 +00:00
|
|
|
create_wrksrc=yes
|
2014-04-18 14:10:05 +00:00
|
|
|
makedepends="a2ps ghostscript"
|
|
|
|
depends="${makedepends}"
|
2014-04-27 10:14:10 +00:00
|
|
|
mutable_files="/opt/brother/Printers/dcp197c/inf/brdcp197crc"
|
2014-04-27 09:20:40 +00:00
|
|
|
|
2014-04-18 14:10:05 +00:00
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
|
|
|
depends+=" glibc-32bit"
|
|
|
|
fi
|
|
|
|
|
|
|
|
do_extract() {
|
|
|
|
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/dcp197clpr-${version}-1.i386.deb
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install(){
|
|
|
|
mkdir -p ${DESTDIR}
|
|
|
|
tar xzpvf data.tar.gz -C ${DESTDIR}
|
|
|
|
}
|