X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 2D66ADC0169 for ; Mon, 30 Jun 2014 06:53:03 +0000 (UTC) Received: by mail-pd0-f181.google.com with SMTP id v10so7760470pde.40 for ; Sun, 29 Jun 2014 23:53:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=wbiNZ5w4aHVoA6foi4YZBtALvtoNtsMSLQe+f93EKlQ=; b=ERoDuy+vqotExwMDOcPELJT8cqqkuUhZb6dYUZuyLGhb6j2Fbbx8t83vDTI4IF0d8b /d9PoD3SZVlHgsKACqAu3xDTjPCnEf6cL/Vu8Y5NUwqz7mxLhJf3GU6kNRgxm7486UVl mQCMRDAiwKADBIhKuMQuSkEIP9swYhIv5uyIje2pTSEsSvk3idffgRqDJq9AtDbxobhi MDb1LjXZ8xIDg6VRkTr4+e1fbcBGHMsDEESjtUI2yjwMFbMmIuKkYDsIR46nxI8x72Ul uVzIFsz1iMWmwYGvSsClEtvubrA2mbC2YjKmzl11dYy9K0cnDDWlCloNACHvEi+Rrzsc FkTw== X-Received: by 10.67.30.97 with SMTP id kd1mr8145993pad.15.1404111182563; Sun, 29 Jun 2014 23:53:02 -0700 (PDT) Received: from localhost.localdomain ([50.0.227.219]) by mx.google.com with ESMTPSA id jt7sm26085875pbc.46.2014.06.29.23.53.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 29 Jun 2014 23:53:02 -0700 (PDT) From: Isaac Dunham To: alpine-devel@lists.alpinelinux.org Cc: Isaac Dunham Subject: [alpine-devel] [PATCH] testing/brlaser: add new package Date: Sun, 29 Jun 2014 23:53:24 -0700 Message-Id: <1404111204-9082-1-git-send-email-ibid.ag@gmail.com> X-Mailer: git-send-email 2.0.1 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: This is a driver for Brother DCP 70xx printers; it has been tested with the DCP 7030 and the DCP 7065 DN all-in-one. --- testing/brlaser/APKBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 testing/brlaser/APKBUILD diff --git a/testing/brlaser/APKBUILD b/testing/brlaser/APKBUILD new file mode 100644 index 0000000..733169b --- /dev/null +++ b/testing/brlaser/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Isaac Dunham +# Maintainer: Isaac Dunham +pkgname=brlaser +pkgver=2 +pkgrel=0 +pkgdesc="Driver for Brother DCP 7030 and DCP 7065 printers" +url="http://github.com/pdewacht/brlaser" +arch="all" +license="GPL2+" +depends="cups-filters" +depends_dev="" +makedepends="$depends_dev cups-dev" +install="" +subpackages="$pkgname-doc" +source="brlaser-$pkgver.tar.gz::https://github.com/pdewacht/brlaser/archive/v$pkgver.tar.gz" + +_builddir="$srcdir"/brlaser-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./autogen.sh \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="34bc664707dcd51e96a3b79917bcb50d brlaser-2.tar.gz" +sha256sums="20852bb99004474c25885b7d7ba124b079e7ea6beb277a85500641ca34fe24c6 brlaser-2.tar.gz" +sha512sums="eda631fd4cf80e3dd0f7097b62fd8e73f8adcafdfad937b49b5515d4ede37bcb861fa8a69397cacc3634baf18551a06bf2feb85042e34432ee26e695b7b8339b brlaser-2.tar.gz" -- 2.0.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---