wok-next view potrace/receipt @ rev 20636

Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 27 15:12:17 2018 +0300 (2018-04-27)
parents fcbd6baa8d54
children d08d2d235af0
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 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 potrace)
31 copy @std
32 DEPENDS="zlib"
33 ;;
34 *-dev)
35 copy @dev
36 ;;
37 esac
38 }