Added epsoneplijs-0.4.1, drivers for Epson Epl-5x00l/6x00l

This commit is contained in:
Giuseppe Calaà 2010-11-04 16:14:05 +00:00
parent c19b7be357
commit 11de38d42a
2 changed files with 58 additions and 0 deletions

15
epsoneplijs/LICENSE Normal file
View File

@ -0,0 +1,15 @@
License
=======
The ijs-derived part follows the same licence as ijs. The rest of the code
is under the GNU public license, except "epl_compress.c".
As of version 0.2.3, the usb branch has merged back to the main branch,
and we no longer bundle libusb as a sub-directory within the source bundle.
The src rpm still includes a libusb tar ball and recreates a sub-directory
during rpm building, for convenience.
The content of "epl_compress.c" may have issues with Epson which we are
not yet sure about. Therefore we hereby explicitly ask whoever uses the
content of that file, NOT to use it for any purpose other than in relation
to the Epson EPL series of printers.

43
epsoneplijs/PKGBUILD Normal file
View File

@ -0,0 +1,43 @@
# Platform Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=epsoneplijs
pkgver=0.4.1
pkgrel=1
pkgdesc="Printer driver which gives ghostscript the ability to print to Epson EPL-5700L, EPL-5800L, EPL-5900L, EPL-6100L and EPL-6200L laser printers."
arch=(i686 x86_64)
license=('custom')
url="http://sourceforge.net/projects/epsonepl/"
depends=('cups' 'ghostscript' 'libusb' 'foomatic-filters')
source=(http://fastbull.dl.sourceforge.net/project/epsonepl/epsonepl/${pkgver}/${pkgname}-${pkgver}.tgz LICENSE )
md5sums=('0840e15c6a96584138d9a1045c16997d'
'13d64edc89b1551e4c88be3b21d4a39a')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --with-libusb
make || return 1
mkdir -p $pkgdir/usr/bin
make prefix=$pkgdir/usr install
# install ppd
mkdir -p $pkgdir/usr/share/foomatic/db/source/driver/
cp $srcdir/$pkgname-$pkgver/foomatic/driver/*.* $pkgdir/usr/share/foomatic/db/source/driver/
mkdir -p $pkgdir/usr/share/foomatic/db/source/opt/
cp $srcdir/$pkgname-$pkgver/foomatic/opt/*.* $pkgdir/usr/share/foomatic/db/source/opt/
mkdir -p $pkgdir/usr/share/foomatic/db/source/printer/
cp $srcdir/$pkgname-$pkgver/foomatic/printer/*.* $pkgdir/usr/share/foomatic/db/source/printer/
mkdir -p $pkgdir/usr/share/foomatic/db/source/PPD/Epson/
cp $srcdir/$pkgname-$pkgver/foomatic_PPDs/Epson-EPL-*-cups.ppd.gz $pkgdir/usr/share/foomatic/db/source/PPD/Epson/
mkdir -p $pkgdir/usr/share/cups/model/
cp -av $srcdir/$pkgname-$pkgver/foomatic_PPDs/Epson-EPL-*-cups.ppd.gz $pkgdir/usr/share/cups/model/
# install license
cd $startdir
install -D -m 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}