blob: 20042f2949402b8ef5a5665f4d5d9226d607c628 (
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
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=potrace
pkgver=1.13
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}
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 \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
--with-libpotrace \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="${pkgdir}" install
}
md5sums="f26888fc2fbfa96fa79ce07fdcf4bb70 potrace-1.13.tar.gz"
sha256sums="6252438b6b6644b9b6298056b4c5de3690a1d4e862b66889abe21eecdf16b784 potrace-1.13.tar.gz"
sha512sums="d7b1e72bee388aa309a5fbf3944b9409d912f2ed8a089a44dfca597b55d88bdf08778d40fc487e6689a873631c24cd393894ff353442dc778dfd0d3068121484 potrace-1.13.tar.gz"
|