aboutsummaryrefslogtreecommitdiffstats
path: root/community/potrace/APKBUILD
blob: 2e0e7a21628fb7d15109da8420ab8487422f5cf9 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=potrace
pkgver=1.14
pkgrel=0
pkgdesc="Utility for tracing a bitmaps"
url="http://potrace.sourceforge.net/"
arch="all"
license="GPL"
depends=""
depends_dev="zlib-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://potrace.sourceforge.net/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"

builddir="${srcdir}"/${pkgname}-${pkgver}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--with-libpotrace \
	|| return 1
	make || return 1
}

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

sha512sums="ade5e18adfbfccbc1298d0bd416fe3ef49ebe0284b81d43e0dd0040498d0ef6995e6ac9dac0a1eb5c251921bc97c32db3213dbe0ab40365d87f92013dcdc99b5  potrace-1.14.tar.gz"