contrib/potrace/Pkgfile

27 lines
593 B
Plaintext
Raw Normal View History

2019-08-09 14:36:09 +02: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: John McQuah, jmcquah at disroot dot org
2020-02-05 09:45:46 +01:00
# Depends on: zlib
2019-08-09 14:36:09 +02:00
name=potrace
2020-02-05 09:45:46 +01:00
version=1.16
2019-08-09 14:36:09 +02:00
release=1
2020-05-28 14:13:08 +02:00
source=(http://potrace.sourceforge.net/download/$version/$name-$version.tar.gz)
2019-08-09 14:36:09 +02:00
build() {
cd $name-$version
2020-02-05 09:45:46 +01:00
export CC=gcc
2019-08-09 14:36:09 +02:00
./configure \
--prefix=/usr \
2020-05-28 14:13:08 +02:00
--mandir=/usr/share/man \
--disable-static \
--enable-metric \
2019-08-09 14:36:09 +02:00
--with-libpotrace
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc $PKG/usr/lib/*.la
2019-08-09 14:36:09 +02:00
}