aboutsummaryrefslogtreecommitdiffstats
path: root/community/potrace/APKBUILD
blob: ba8c639825defb8399387099d8f940fd10e8392a (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=potrace
pkgver=1.16
pkgrel=1
pkgdesc="Utility for tracing a bitmaps"
url="http://potrace.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
depends_dev="zlib-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://potrace.sourceforge.net/download/$pkgver/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--with-libpotrace
	make
}

check() {
	make check
}

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

sha512sums="10d85ed3fada80951223c65e923b5e6ee3e76e071575971d5b09b996b477ec5ff2403e0337c44963c6b441cc3ba6c4f7009541124a25c16b7721fdebd1f774b9  potrace-1.16.tar.gz"