contrib/potrace/Pkgfile

24 lines
509 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
source=(https://sourceforge.net/projects/$name/files/$version/$name-$version.tar.gz)
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 \
--with-libpotrace
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc
}