wok-next view potrace/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="potrace"
4 VERSION="1.15"
5 CATEGORY="graphics"
6 SHORT_DESC="Transform bitmaps into vector graphics"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="http://potrace.sourceforge.net/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/potrace.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/potrace/$TARBALL"
15 BUILD_DEPENDS="zlib-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 --enable-metric \
22 --enable-a4 \
23 --with-libpotrace \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 potrace)
33 copy @std
34 DEPENDS="zlib"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }