24 lines
509 B
Plaintext
24 lines
509 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: Danny Rawlins, crux at romster dot me
|
|
# Depends on: zlib
|
|
|
|
name=potrace
|
|
version=1.16
|
|
release=1
|
|
source=(https://sourceforge.net/projects/$name/files/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
export CC=gcc
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--with-libpotrace
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -r $PKG/usr/share/doc
|
|
}
|