mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 11:21:17 +02:00
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.9
|
|
pkgrel=0
|
|
pkgdesc="Tools for using the foomatic database of printers and printer drivers"
|
|
url="http://www.linuxprinting.org"
|
|
arch="all"
|
|
license="GPL2+"
|
|
depends="foomatic-filters"
|
|
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"
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
rm -f "$pkgdir"/usr/lib/*.la
|
|
}
|
|
|
|
md5sums="5b33c1adb21e7b6f3652e9a18d0e6f4e foomatic-db-engine-4.0.9.tar.gz"
|
|
sha256sums="7c9ef1c8e934de1b0e37104570d6b1ff8ea349f3ed6d965397b7c94449122f44 foomatic-db-engine-4.0.9.tar.gz"
|
|
sha512sums="37e192ba5eccedf653684781c503ca0a2eed5f111799ff07a3dd419dd3049f2ae9a7ee21e921a79732cc178ae52c69f25ffac2f5761665871fec520d7b64f2e8 foomatic-db-engine-4.0.9.tar.gz"
|