contrib/potrace/Pkgfile
John McQuah fc5ba76e81 cairomm, gsl, potrace, inkscape: adopted
gsl, potrace: adopted

inkscape: adopted
2023-03-05 22:58:39 -05:00

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
}