wok-next view potrace/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | |
children | 10df65db91ad |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="potrace"
4 VERSION="1.14"
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/potrace/$TARBALL"
14 BUILD_DEPENDS="zlib-dev"
15 SPLIT="potrace-dev"
17 compile_rules() {
18 ./configure \
19 --enable-metric \
20 --enable-a4 \
21 --with-libpotrace \
22 $CONFIGURE_ARGS &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 potrace)
30 copy @std
31 DEPENDS="zlib"
32 ;;
33 *-dev)
34 copy @dev
35 ;;
36 esac
37 }