aboutsummaryrefslogtreecommitdiffstats
path: root/testing/t1lib/APKBUILD
blob: 11e47c930f15fea9944ae7ce0eb9ecdbf6f9af94 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=t1lib
pkgver=5.1.2
pkgrel=0
pkgdesc="Rasterizer library for Adobe Type 1 fonts "
url="http://www.ibiblio.org/pub/Linux/libs/graphics/!INDEX.html"
arch="all"
license="GPL"
depends=""
depends_dev="libxaw-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://www.ibiblio.org/pub/Linux/libs/graphics/$pkgname-$pkgver.tar.gz
	CVE-2010-2642.patch
	CVE-2011-0764.patch
	CVE-2011-1552_1553_1554.patch
	format-security.patch
	lib-cleanup.patch"

_builddir="$srcdir"/$pkgname-$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
	make without_doc
}

package() {
	cd "$_builddir"
	make DESTDIR="${pkgdir}" install
}

md5sums="a5629b56b93134377718009df1435f3c  t1lib-5.1.2.tar.gz
2283c116d1dda278ee77ef27c1a8e397  CVE-2010-2642.patch
60fb9f058a6bb1f760ddaf2ed7d71879  CVE-2011-0764.patch
22e03d81fab188139acbe7fd3a0a706a  CVE-2011-1552_1553_1554.patch
b947e6a732729db2819d4f857a686e2f  format-security.patch
82dafb6051d64a94f32c73d59649ddd0  lib-cleanup.patch"
sha256sums="821328b5054f7890a0d0cd2f52825270705df3641dbd476d58d17e56ed957b59  t1lib-5.1.2.tar.gz
dcd9064f368e0fc1f3ede0a45e61b364f6b5d3607dccae78ac07e74ca315a27d  CVE-2010-2642.patch
a763650bdcffd33a61cd2cecef766b8d6baa9999561463ae9dfdc20d55caef04  CVE-2011-0764.patch
4bc34e092fdec37e06b38b5b7a3b02194732dbe6a39edbd174b36c2db1f113ac  CVE-2011-1552_1553_1554.patch
89b0aa7ca57fd8e9753336033c1d3e3e58c6c79e943144430e8af9a4626fdd25  format-security.patch
5b161f4e0f4ad297ad8eea70ea99620f5db6f7e487bbd63a819b6a9958540961  lib-cleanup.patch"
sha512sums="9f424b19c6f35cc4f194ff7351a4c2352216462c7d1b1d9650ad3a05cf48c6e90c89ccbcda5ecc47a4169a39a850cf84a1fcbf88b3b15614860c27364b631ae3  t1lib-5.1.2.tar.gz
5714bb8790cec04c0c03778e708fc69ed0e21a68a5c9ff2a6ecafdfbb649540e9e214085fa1b05206166abe3c48ed3605ef7a0812341970709c0ac205d93c925  CVE-2010-2642.patch
922c1089ca7ec2ecaaee9058b68deb3c9e7952465883500e3247a835d5c8e0d54b9b8145dce8ec5846a0c47ac9b4b7889fcc88033f463acbd68d8ee9e3123859  CVE-2011-0764.patch
54fb9bb95d20e6a622cc52a7f7b0c3db9ee77e7a1efe1f55b81f07140d0185dd49a8a0b86390dd2d317e5f779cd02759ed6ffa8259c054deab30d2a64d64c19b  CVE-2011-1552_1553_1554.patch
0d7b5db6d9636182d557cc6a760e9eae7f4e8997998366eb517825ebd4a033e13e35bdce4f67f3f4d046d018cd348c68d9c578c0501fef417c9963763168ff22  format-security.patch
efbce854093bc2408c9e7d6be374901e82e399b60a057746cb876f0943f69018039038e337bd4b03da2568d597cec87e2d9f01f98f374433310edbbe440ec259  lib-cleanup.patch"