27 lines
593 B
Plaintext
27 lines
593 B
Plaintext
# Description: Utility for tracing a bitmap (input: PBM,PGM,PPM,BMP; output: EPS,PS,PDF,SVG,DXF,PGM,Gimppath,XFig)
|
|
# URL: http://potrace.sourceforge.net/
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: zlib
|
|
|
|
name=potrace
|
|
version=1.16
|
|
release=1
|
|
source=(http://potrace.sourceforge.net/download/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
export CC=gcc
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--disable-static \
|
|
--enable-metric \
|
|
--with-libpotrace
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -r $PKG/usr/share/doc $PKG/usr/lib/*.la
|
|
}
|