1
0
forked from ports/contrib

25 lines
532 B
Plaintext
Raw Normal View History

2019-08-09 22:36:09 +10:00
# 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
2020-02-05 19:45:46 +11:00
# Depends on: zlib
2019-08-09 22:36:09 +10:00
name=potrace
2020-02-05 19:45:46 +11:00
version=1.16
2019-08-09 22:36:09 +10:00
release=1
2020-05-28 22:13:08 +10:00
source=(http://potrace.sourceforge.net/download/$version/$name-$version.tar.gz)
2019-08-09 22:36:09 +10:00
build() {
cd $name-$version
2020-02-05 19:45:46 +11:00
export CC=gcc
2019-08-09 22:36:09 +10:00
./configure \
--prefix=/usr \
2020-05-28 22:13:08 +10:00
--mandir=/usr/share/man \
2019-08-09 22:36:09 +10:00
--with-libpotrace
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc
}