mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 11:21:17 +02:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=foomatic-db-engine
|
|
pkgver=4.0.12
|
|
pkgrel=0
|
|
pkgdesc="Tools for using the foomatic database of printers and printer drivers"
|
|
url="http://www.linuxprinting.org"
|
|
arch="all"
|
|
license="GPL2+"
|
|
depends="cups-filters perl"
|
|
depends_dev=""
|
|
makedepends="perl-dev libxml2-dev cups-dev ghostscript-dev"
|
|
install=""
|
|
subpackages="$pkgname-doc"
|
|
source="http://www.openprinting.org/download/foomatic/foomatic-db-engine-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/foomatic-db-engine-$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"
|
|
# avoid #!/bin/bash in foomatic-getpjloptions
|
|
SH=/bin/sh ./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="b8049e61a3dad76044e83dde0087e0a0 foomatic-db-engine-4.0.12.tar.gz"
|
|
sha256sums="66143b76ed5b325b7025e261ad917b543de534c6d0a6e495d5489a20cace7c21 foomatic-db-engine-4.0.12.tar.gz"
|
|
sha512sums="b7e99ace6a632e9b0213183bd2c6c2d11ca072ea0414e8ca569082b7ec183dd81c80594ad63fdee82d761ae36d4fce9d3c881569a95a6085ec326ef7fd21154f foomatic-db-engine-4.0.12.tar.gz"
|