#Packager: Dimitris Tzemos pkgname=potrace pkgver=1.16 pkgrel=1dj source=("http://potrace.sourceforge.net/download/${pkgver}/${pkgname}-${pkgver}.tar.gz") docs=("ABOUT-NLS" "AUTHORS" "COPYING" "ChangeLog" "INSTALL" "MAINTAINERS" "NEWS") url=http://www.inkscape.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "potrace (bitmap utility)" "Potrace is a utility for tracing a bitmap, which means, transforming" "a bitmap into a smooth, scalable image. The input is a bitmap (PBM," "PGM, PPM, or BMP format), and the default output is an encapsulated" "PostScript file (EPS). A typical use is to create EPS files from" "scanned data, such as company or university logos, handwritten notes," "etc. The resulting image is not 'jaggy' like a bitmap, but smooth." "It can then be rendered at any resolution." ) build() { cd $startdir/src/$pkgname-$pkgver CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$pkgname-$pkgver \ --disable-dependency-tracking \ --enable-shared \ --disable-static \ --with-libpotrace \ --build=$arch-slackware-linux \ CFLAGS="$SLKCFLAGS" \ make || return 1 make check || return 1 make install-strip DESTDIR=$startdir/pkg }