blob: c1b730f8dce31b8d681fa6988a0d799c606f8a5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libpaper
pkgver=1.1.27
pkgrel=0
pkgdesc="Library for handling paper characteristics"
url="http://packages.debian.org/unstable/source/libpaper"
arch="all"
options="!check" # No test suite.
license="GPL-2.0-only"
makedepends="automake autoconf libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.debian.org/debian/pool/main/libp/libpaper/libpaper_${pkgver}.tar.gz"
prepare() {
cd "$builddir"
default_prepare
autoreconf -fi
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static \
--mandir="$pkgdir"/usr/share/man
make
}
package() {
cd "$builddir"
make prefix="$pkgdir"/usr install
}
sha512sums="74bb0736ef5692425a08119ffcf21fb317ed9422052f019ee8dee21af096b28b6815b515f0954d55af98fafcb766456f1313656cfa63dccd23532bb1cf598492 libpaper_1.1.27.tar.gz"
|